

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>ccqw Package &mdash; CCQW 0.1.1 documentation</title>
    
    <link rel="stylesheet" href="_static/default.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '',
        VERSION:     '0.1.1',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <script type="text/javascript" src="_static/sidebar.js"></script>
    <link rel="top" title="CCQW 0.1.1 documentation" href="index.html" />
    <link rel="prev" title="How does the widget look like?" href="snapshots.html" /> 
  </head>
  <body>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="snapshots.html" title="How does the widget look like?"
             accesskey="P">previous</a> |</li>
        <li><a href="index.html">CCQW 0.1.1 documentation</a> &raquo;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="module-ccqw.__init__">
<span id="ccqw-package"></span><h1><tt class="xref py py-mod docutils literal"><span class="pre">ccqw</span></tt> Package<a class="headerlink" href="#module-ccqw.__init__" title="Permalink to this headline">¶</a></h1>
<p>A Python package made of several modules to display and convert
coordinates ineractively with a GUI.
Library PROJ.4 is used for coordinate conversion.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Author:</th><td class="field-body"><ul class="first simple">
<li>20111227-20120111 Roberto Vidmar</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Revision:</th><td class="field-body"><p class="first">$Revision: 52 $
$Date: 2012-11-12 10:07:15 +0100 (Mon, 12 Nov 2012) $</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Copyright:</th><td class="field-body"><p class="first">2011-2012
Nicola Creati &lt;<a class="reference external" href="mailto:ncreati&#37;&#52;&#48;inogs&#46;it">ncreati<span>&#64;</span>inogs<span>&#46;</span>it</a>&gt;
Roberto Vidmar &lt;<a class="reference external" href="mailto:rvidmar&#37;&#52;&#48;inogs&#46;it">rvidmar<span>&#64;</span>inogs<span>&#46;</span>it</a>&gt;</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">License:</th><td class="field-body"><p class="first last">MIT/X11 License (see <a class="reference download internal" href="_downloads/license.txt"><tt class="xref download docutils literal"><span class="pre">license.txt</span></tt></a>)</p>
</td>
</tr>
</tbody>
</table>
<div class="section" id="abstractfeditor-module">
<h2><tt class="xref py py-mod docutils literal"><span class="pre">abstractFeditor</span></tt> Module<a class="headerlink" href="#abstractfeditor-module" title="Permalink to this headline">¶</a></h2>
<p class="graphviz">
<img src="_images/inheritance-ab2dbcb95337f1f5af977216c1dc786a3864ad71.png" alt="Inheritance diagram of ccqw.abstractFeditor" usemap="#inheritancef199e9e16d" class="inheritance"/>
<map id="inheritancef199e9e16d" name="inheritancef199e9e16d">
<area shape="rect" id="node1" href="#ccqw.abstractFeditor.AbstractFEditor" title="ccqw.abstractFeditor.AbstractFEditor" alt="" coords="235,315,472,343"/>
<area shape="rect" id="node7" href="#ccqw.abstractFeditor.FEditor" title="ccqw.abstractFeditor.FEditor" alt="" coords="149,393,339,421"/>
<area shape="rect" id="node9" href="#ccqw.abstractFeditor.UFEditor" title="ccqw.abstractFeditor.UFEditor" alt="" coords="363,393,560,421"/>
<area shape="rect" id="node14" href="#ccqw.abstractFeditor.FValidator" title="ccqw.abstractFeditor.FValidator" alt="" coords="5,315,211,343"/>
</map>
</p>
<span class="target" id="module-ccqw.abstractFeditor"></span><p>Abstract Line Editor module for float handling</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Author:</th><td class="field-body"><ul class="first simple">
<li>20120111 Roberto Vidmar</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Revision:</th><td class="field-body"><p class="first">$Revision: 52 $
$Date: 2012-11-12 10:07:15 +0100 (Mon, 12 Nov 2012) $</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Copyright:</th><td class="field-body"><p class="first">2011-2012
Nicola Creati &lt;<a class="reference external" href="mailto:ncreati&#37;&#52;&#48;inogs&#46;it">ncreati<span>&#64;</span>inogs<span>&#46;</span>it</a>&gt;
Roberto Vidmar &lt;<a class="reference external" href="mailto:rvidmar&#37;&#52;&#48;inogs&#46;it">rvidmar<span>&#64;</span>inogs<span>&#46;</span>it</a>&gt;</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">License:</th><td class="field-body"><p class="first last">MIT/X11 License (see <a class="reference download internal" href="_downloads/license.txt"><tt class="xref download docutils literal"><span class="pre">license.txt</span></tt></a>)</p>
</td>
</tr>
</tbody>
</table>
<dl class="class">
<dt id="ccqw.abstractFeditor.FValidator">
<em class="property">class </em><tt class="descclassname">ccqw.abstractFeditor.</tt><tt class="descname">FValidator</tt><big>(</big><em>parent</em>, <em>regexp</em><big>)</big><a class="reference internal" href="_modules/ccqw/abstractFeditor.html#FValidator"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.abstractFeditor.FValidator" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">PySide.QtGui.QRegExpValidator</span></tt></p>
<p>A validator for Floats in formats defined by Regular Expression</p>
<dl class="method">
<dt id="ccqw.abstractFeditor.FValidator.__init__">
<tt class="descname">__init__</tt><big>(</big><em>parent</em>, <em>regexp</em><big>)</big><a class="reference internal" href="_modules/ccqw/abstractFeditor.html#FValidator.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.abstractFeditor.FValidator.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new instance of the validator.</p>
<blockquote>
<div><div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">parent <cite>AND</cite> regexp must be supplied.</p>
</div>
</div></blockquote>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>parent</strong> (<em>QtGui widget</em>) &#8211; parent widget</li>
<li><strong>regexp</strong> (<em>QtCore.QRegExp</em>) &#8211; regular expression that will be used for validation.</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="ccqw.abstractFeditor.FValidator.staticMetaObject">
<tt class="descname">staticMetaObject</tt><em class="property"> = &lt;PySide.QtCore.QMetaObject object at 0x4470fc8&gt;</em><a class="headerlink" href="#ccqw.abstractFeditor.FValidator.staticMetaObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="ccqw.abstractFeditor.AbstractFEditor">
<em class="property">class </em><tt class="descclassname">ccqw.abstractFeditor.</tt><tt class="descname">AbstractFEditor</tt><big>(</big><em>parent</em><big>)</big><a class="reference internal" href="_modules/ccqw/abstractFeditor.html#AbstractFEditor"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.abstractFeditor.AbstractFEditor" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">PySide.QtGui.QLineEdit</span></tt></p>
<p>Abstract Line Editor class for floats handling</p>
<dl class="method">
<dt id="ccqw.abstractFeditor.AbstractFEditor.__init__">
<tt class="descname">__init__</tt><big>(</big><em>parent</em><big>)</big><a class="reference internal" href="_modules/ccqw/abstractFeditor.html#AbstractFEditor.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.abstractFeditor.AbstractFEditor.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new instance of the editor.</p>
<blockquote>
<div><div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">This class should not be used without subclassing.</p>
</div>
</div></blockquote>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>parent</strong> (<em>QtGui widget</em>) &#8211; parent widget</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.abstractFeditor.AbstractFEditor.signAndText">
<tt class="descname">signAndText</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/abstractFeditor.html#AbstractFEditor.signAndText"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.abstractFeditor.AbstractFEditor.signAndText" title="Permalink to this definition">¶</a></dt>
<dd><p>Return sign and text of this QLineEdit</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">sign and text of this QLineEdit</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">tuple</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.abstractFeditor.AbstractFEditor.fvalue">
<tt class="descname">fvalue</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/abstractFeditor.html#AbstractFEditor.fvalue"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.abstractFeditor.AbstractFEditor.fvalue" title="Permalink to this definition">¶</a></dt>
<dd><p>Return widget floating point value</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">floating point value</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">float</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.abstractFeditor.AbstractFEditor.svalue">
<tt class="descname">svalue</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/abstractFeditor.html#AbstractFEditor.svalue"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.abstractFeditor.AbstractFEditor.svalue" title="Permalink to this definition">¶</a></dt>
<dd><p>Return widget text</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">text content</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">string</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.abstractFeditor.AbstractFEditor.setValue">
<tt class="descname">setValue</tt><big>(</big><em>value</em><big>)</big><a class="reference internal" href="_modules/ccqw/abstractFeditor.html#AbstractFEditor.setValue"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.abstractFeditor.AbstractFEditor.setValue" title="Permalink to this definition">¶</a></dt>
<dd><p>Set Editor value</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>value</strong> (<em>string, int or float</em>) &#8211; value to set</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="ccqw.abstractFeditor.AbstractFEditor.staticMetaObject">
<tt class="descname">staticMetaObject</tt><em class="property"> = &lt;PySide.QtCore.QMetaObject object at 0x4475050&gt;</em><a class="headerlink" href="#ccqw.abstractFeditor.AbstractFEditor.staticMetaObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="ccqw.abstractFeditor.FEditor">
<em class="property">class </em><tt class="descclassname">ccqw.abstractFeditor.</tt><tt class="descname">FEditor</tt><big>(</big><em>parent</em>, <em>hchr</em><big>)</big><a class="reference internal" href="_modules/ccqw/abstractFeditor.html#FEditor"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.abstractFeditor.FEditor" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#ccqw.abstractFeditor.AbstractFEditor" title="ccqw.abstractFeditor.AbstractFEditor"><tt class="xref py py-class docutils literal"><span class="pre">ccqw.abstractFeditor.AbstractFEditor</span></tt></a></p>
<p>Signed Float Line Editor</p>
<p>Will contain float numbers with the format <strong>[+-]hhhh.hhh</strong></p>
<dl class="method">
<dt id="ccqw.abstractFeditor.FEditor.__init__">
<tt class="descname">__init__</tt><big>(</big><em>parent</em>, <em>hchr</em><big>)</big><a class="reference internal" href="_modules/ccqw/abstractFeditor.html#FEditor.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.abstractFeditor.FEditor.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new instance of the editor.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>parent</strong> (<em>QtGui widget</em>) &#8211; parent widget</li>
<li><strong>hcr</strong> (<em>string</em>) &#8211; a character for the <cite>units</cite></li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.abstractFeditor.FEditor.value">
<tt class="descname">value</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/abstractFeditor.html#FEditor.value"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.abstractFeditor.FEditor.value" title="Permalink to this definition">¶</a></dt>
<dd><p>Return signed widget string value</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">signed widget string value</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">string</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.abstractFeditor.FEditor.asString">
<tt class="descname">asString</tt><big>(</big><em>value</em><big>)</big><a class="reference internal" href="_modules/ccqw/abstractFeditor.html#FEditor.asString"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.abstractFeditor.FEditor.asString" title="Permalink to this definition">¶</a></dt>
<dd><p>Return value as formatted string</p>
<blockquote>
<div>Format is embedded into class.</div></blockquote>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>value</strong> (<em>float or int</em>) &#8211; numerical value</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><cite>value</cite> as formatted string</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">string</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="ccqw.abstractFeditor.FEditor.staticMetaObject">
<tt class="descname">staticMetaObject</tt><em class="property"> = &lt;PySide.QtCore.QMetaObject object at 0x4475098&gt;</em><a class="headerlink" href="#ccqw.abstractFeditor.FEditor.staticMetaObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="ccqw.abstractFeditor.UFEditor">
<em class="property">class </em><tt class="descclassname">ccqw.abstractFeditor.</tt><tt class="descname">UFEditor</tt><big>(</big><em>parent</em><big>)</big><a class="reference internal" href="_modules/ccqw/abstractFeditor.html#UFEditor"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.abstractFeditor.UFEditor" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#ccqw.abstractFeditor.AbstractFEditor" title="ccqw.abstractFeditor.AbstractFEditor"><tt class="xref py py-class docutils literal"><span class="pre">ccqw.abstractFeditor.AbstractFEditor</span></tt></a></p>
<p>Unsigned Float Line Editor</p>
<p>Will contain unsigned floats with the format <strong>hhhh.hhh</strong></p>
<dl class="method">
<dt id="ccqw.abstractFeditor.UFEditor.__init__">
<tt class="descname">__init__</tt><big>(</big><em>parent</em><big>)</big><a class="reference internal" href="_modules/ccqw/abstractFeditor.html#UFEditor.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.abstractFeditor.UFEditor.__init__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.abstractFeditor.UFEditor.value">
<tt class="descname">value</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/abstractFeditor.html#UFEditor.value"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.abstractFeditor.UFEditor.value" title="Permalink to this definition">¶</a></dt>
<dd><p>Return widget string value</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">widget string value</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">string</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.abstractFeditor.UFEditor.asString">
<tt class="descname">asString</tt><big>(</big><em>value</em><big>)</big><a class="reference internal" href="_modules/ccqw/abstractFeditor.html#UFEditor.asString"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.abstractFeditor.UFEditor.asString" title="Permalink to this definition">¶</a></dt>
<dd><p>Return value as formatted string</p>
<blockquote>
<div>Format is embedded into class.</div></blockquote>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>value</strong> (<em>float or int</em>) &#8211; numerical value</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><cite>value</cite> as formatted string</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">string</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="ccqw.abstractFeditor.UFEditor.staticMetaObject">
<tt class="descname">staticMetaObject</tt><em class="property"> = &lt;PySide.QtCore.QMetaObject object at 0x44750e0&gt;</em><a class="headerlink" href="#ccqw.abstractFeditor.UFEditor.staticMetaObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

</div>
<div class="section" id="coorddialog-module">
<h2><tt class="xref py py-mod docutils literal"><span class="pre">coordDialog</span></tt> Module<a class="headerlink" href="#coorddialog-module" title="Permalink to this headline">¶</a></h2>
<p class="graphviz">
<img src="_images/inheritance-be1fa1ed1fe4ec3c14df694b6137eadcb16cd924.png" alt="Inheritance diagram of ccqw.coordDialog" usemap="#inheritance20800a76f5" class="inheritance"/>
<map id="inheritance20800a76f5" name="inheritance20800a76f5">
<area shape="rect" id="node4" href="#ccqw.coordDialog.CoordDialog" title="ccqw.coordDialog.CoordDialog" alt="" coords="5,315,203,343"/>
</map>
</p>
<span class="target" id="module-ccqw.coordDialog"></span><p>A Coordinate Dialog Module.</p>
<p>The CoordDialog class handles a dialog for converting coordinate pairs or files
from one Datum / Projection to another interactively.</p>
<blockquote>
<div><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Author:</th><td class="field-body"><ul class="first simple">
<li>20111227-20120111 Roberto Vidmar</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Revision:</th><td class="field-body"><p class="first">$Revision: 52 $
$Date: 2012-11-12 10:07:15 +0100 (Mon, 12 Nov 2012) $</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Copyright:</th><td class="field-body"><p class="first">2011-2012
Nicola Creati &lt;<a class="reference external" href="mailto:ncreati&#37;&#52;&#48;inogs&#46;it">ncreati<span>&#64;</span>inogs<span>&#46;</span>it</a>&gt;
Roberto Vidmar &lt;<a class="reference external" href="mailto:rvidmar&#37;&#52;&#48;inogs&#46;it">rvidmar<span>&#64;</span>inogs<span>&#46;</span>it</a>&gt;</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">License:</th><td class="field-body"><p class="first last">MIT/X11 License (see <a class="reference download internal" href="_downloads/license.txt"><tt class="xref download docutils literal"><span class="pre">license.txt</span></tt></a>)</p>
</td>
</tr>
</tbody>
</table>
</div></blockquote>
<dl class="function">
<dt id="ccqw.coordDialog.unimplemented">
<tt class="descclassname">ccqw.coordDialog.</tt><tt class="descname">unimplemented</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/coordDialog.html#unimplemented"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordDialog.unimplemented" title="Permalink to this definition">¶</a></dt>
<dd><p>Display an &#8216;Unimplemented&#8217; message</p>
</dd></dl>

<dl class="function">
<dt id="ccqw.coordDialog.noDatumShift">
<tt class="descclassname">ccqw.coordDialog.</tt><tt class="descname">noDatumShift</tt><big>(</big><em>(phi</em>, <em>lamda)</em><big>)</big><a class="reference internal" href="_modules/ccqw/coordDialog.html#noDatumShift"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordDialog.noDatumShift" title="Permalink to this definition">¶</a></dt>
<dd><p>Display a &#8216;noDatumShift&#8217; message</p>
</dd></dl>

<dl class="function">
<dt id="ccqw.coordDialog.writeASCII">
<tt class="descclassname">ccqw.coordDialog.</tt><tt class="descname">writeASCII</tt><big>(</big><em>progress</em>, <em>quitFunc</em>, <em>pn</em>, <em>xyz</em>, <em>fmt</em>, <em>header=''</em>, <em>recsPerChunk=1000000</em><big>)</big><a class="reference internal" href="_modules/ccqw/coordDialog.html#writeASCII"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordDialog.writeASCII" title="Permalink to this definition">¶</a></dt>
<dd><p>Write xyz (n x npoints) to ASCII File pn in chunks with optional Header</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>progress</strong> (<em>function</em>) &#8211; progress function. This funtion is called at every step.</li>
<li><strong>quitFunc</strong> (<em>function</em>) &#8211; quit function. This funtion is called at every step and if
it returns True it&#8217;s time to quit.</li>
<li><strong>pn</strong> (<em>string, unicode</em>) &#8211; pathname of the file to write</li>
<li><strong>xyz</strong> (<em>numpy array 3xN</em>) &#8211; dataset to write</li>
<li><strong>fmt</strong> (<em>string</em>) &#8211; format to use to output data to ASCII</li>
<li><strong>header</strong> (<em>string</em>) &#8211; optional header</li>
<li><strong>recsPerChunk</strong> (<em>int</em>) &#8211; number of records to write at every iteration (chunk)</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="class">
<dt id="ccqw.coordDialog.CoordDialog">
<em class="property">class </em><tt class="descclassname">ccqw.coordDialog.</tt><tt class="descname">CoordDialog</tt><big>(</big><em>xyz, projFrom='+proj=latlong +datum=WGS84', projTo='+proj=latlong +datum=WGS84', ell2Ortho=None, name='', upperMode=0, lowerMode=2, dmsChars=[u'xb0', u&quot;'&quot;, u'&quot;'], parent=None</em><big>)</big><a class="reference internal" href="_modules/ccqw/coordDialog.html#CoordDialog"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordDialog.CoordDialog" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">PySide.QtGui.QDialog</span></tt></p>
<dl class="docutils">
<dt>A coordinates dialog class to represent a 3D point in two different</dt>
<dd><p class="first">datums and projections.</p>
<p class="last">The dialog support also conversion of files.</p>
</dd>
</dl>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Author :</th><td class="field-body"><ol class="first last upperalpha simple" start="18">
<li>Vidmar, 20111227</li>
</ol>
</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="ccqw.coordDialog.CoordDialog.ModePoint">
<tt class="descname">ModePoint</tt><em class="property"> = 0</em><a class="headerlink" href="#ccqw.coordDialog.CoordDialog.ModePoint" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="ccqw.coordDialog.CoordDialog.ModeFile">
<tt class="descname">ModeFile</tt><em class="property"> = 1</em><a class="headerlink" href="#ccqw.coordDialog.CoordDialog.ModeFile" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.coordDialog.CoordDialog.__init__">
<tt class="descname">__init__</tt><big>(</big><em>xyz, projFrom='+proj=latlong +datum=WGS84', projTo='+proj=latlong +datum=WGS84', ell2Ortho=None, name='', upperMode=0, lowerMode=2, dmsChars=[u'xb0', u&quot;'&quot;, u'&quot;'], parent=None</em><big>)</big><a class="reference internal" href="_modules/ccqw/coordDialog.html#CoordDialog.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordDialog.CoordDialog.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new CoordDialog instance.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>xyz</strong> (<em>tuple</em>) &#8211; Tuple (x, y, z) where: x = Easting or longitude,
y = Northing or latitude, z = Ellipsoidical height</li>
<li><strong>projFrom</strong> (<em>string</em>) &#8211; PROJ.4 string defining x, y, z</li>
<li><strong>projTo</strong> (<em>string</em>) &#8211; PROJ.4 string defining the new datum/projection</li>
<li><strong>ell2Ortho</strong> (<em>float</em>) &#8211; offset to add to z to obtain orthometric height</li>
<li><strong>name</strong> (<em>string, unicode</em>) &#8211; optional name of this point</li>
<li><strong>upperMode</strong> (<em>int</em>) &#8211; mode at init: (0, ... CoordWidget.ModeFile) for the
upper coordWidget</li>
<li><strong>lowerMode</strong> (<em>int</em>) &#8211; mode at init: (0, ... CoordWidget.ModeFile) for the
lower coordWidget</li>
<li><strong>dmsChars</strong> (<em>tuple</em>) &#8211; Separators for degrees, minutes, seconds
([u&#8221;°&#8221;, u&#8221;&#8217;&#8221;, u&#8217;&#8221;&#8217;])</li>
<li><strong>parent</strong> (<em>QtGui widget</em>) &#8211; parent widget</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.coordDialog.CoordDialog.resizeEvent">
<tt class="descname">resizeEvent</tt><big>(</big><em>evt</em><big>)</big><a class="reference internal" href="_modules/ccqw/coordDialog.html#CoordDialog.resizeEvent"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordDialog.CoordDialog.resizeEvent" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.coordDialog.CoordDialog.selectFields">
<tt class="descname">selectFields</tt><big>(</big><em>pn</em>, <em>longLat</em>, <em>ortho=None</em><big>)</big><a class="reference internal" href="_modules/ccqw/coordDialog.html#CoordDialog.selectFields"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordDialog.CoordDialog.selectFields" title="Permalink to this definition">¶</a></dt>
<dd><p>Select fields for file pn</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>pn</strong> (<em>string, unicode</em>) &#8211; pathname of the file from which select the fields</li>
<li><strong>longLat</strong> (<em>bool</em>) &#8211; True (geographic coordinates) or False (easting, northing)
requiredIndexes</li>
<li><strong>ortho</strong> (<em>float or None</em>) &#8211; Orthometric height or None</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.coordDialog.CoordDialog.fileMode">
<tt class="descname">fileMode</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/coordDialog.html#CoordDialog.fileMode"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordDialog.CoordDialog.fileMode" title="Permalink to this definition">¶</a></dt>
<dd><p>Return True if widget is in <cite>File</cite> mode</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">widget file mode</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">bool</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.coordDialog.CoordDialog.changed">
<tt class="descname">changed</tt><big>(</big><em>what</em><big>)</big><a class="reference internal" href="_modules/ccqw/coordDialog.html#CoordDialog.changed"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordDialog.CoordDialog.changed" title="Permalink to this definition">¶</a></dt>
<dd><p>Something changed: either coordinates or Datum / Projection.</p>
<blockquote>
<div>Transform coordinates of the &#8220;other&#8221; point accordingly</div></blockquote>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>what</strong> (<em>Python Object</em>) &#8211; argument of the changedSignal emitted by the coordWidget</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="ccqw.coordDialog.CoordDialog.staticMetaObject">
<tt class="descname">staticMetaObject</tt><em class="property"> = &lt;PySide.QtCore.QMetaObject object at 0x4b75128&gt;</em><a class="headerlink" href="#ccqw.coordDialog.CoordDialog.staticMetaObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

</div>
<div class="section" id="coordwidget-module">
<h2><tt class="xref py py-mod docutils literal"><span class="pre">coordWidget</span></tt> Module<a class="headerlink" href="#coordwidget-module" title="Permalink to this headline">¶</a></h2>
<p class="graphviz">
<img src="_images/inheritance-7bedc8d080f8cbf2d71286a3ad181f7d52f32306.png" alt="Inheritance diagram of ccqw.coordWidget" usemap="#inheritancea0dc135010" class="inheritance"/>
<map id="inheritancea0dc135010" name="inheritancea0dc135010">
<area shape="rect" id="node4" href="#ccqw.coordWidget.TinyButton" title="ccqw.coordWidget.TinyButton" alt="" coords="241,393,436,421"/>
<area shape="rect" id="node7" href="#ccqw.coordWidget.CoordWidget" title="ccqw.coordWidget.CoordWidget" alt="" coords="5,238,213,266"/>
</map>
</p>
<span class="target" id="module-ccqw.coordWidget"></span><p>A widget for (phi, lamda, h) or (easting, northing, h) coordinates</p>
<p>The CoordWidget class implement a widget to display coordinates:  (lat, lon,
height) or (easting, northing height).
The widget has optional combo boxes both for degrees representation (D.DD or
D, M.MM or D, M, S.SS) and height (ellipsoidical or orthometric).
The appearance of the widget (phi, lamda, h) or (easting, northing, h) depends
on the Projection used.</p>
<blockquote>
<div><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Author:</th><td class="field-body"><ul class="first simple">
<li>20111221-20120214 Roberto Vidmar</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Revision:</th><td class="field-body"><p class="first">$Revision: 52 $
$Date: 2012-11-12 10:07:15 +0100 (Mon, 12 Nov 2012) $</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Copyright:</th><td class="field-body"><p class="first">2011-2012
Nicola Creati &lt;<a class="reference external" href="mailto:ncreati&#37;&#52;&#48;inogs&#46;it">ncreati<span>&#64;</span>inogs<span>&#46;</span>it</a>&gt;
Roberto Vidmar &lt;<a class="reference external" href="mailto:rvidmar&#37;&#52;&#48;inogs&#46;it">rvidmar<span>&#64;</span>inogs<span>&#46;</span>it</a>&gt;</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">License:</th><td class="field-body"><p class="first last">MIT/X11 License (see <a class="reference download internal" href="_downloads/license.txt"><tt class="xref download docutils literal"><span class="pre">license.txt</span></tt></a>)</p>
</td>
</tr>
</tbody>
</table>
</div></blockquote>
<dl class="class">
<dt id="ccqw.coordWidget.TinyButton">
<em class="property">class </em><tt class="descclassname">ccqw.coordWidget.</tt><tt class="descname">TinyButton</tt><big>(</big><em>label</em>, <em>parent</em><big>)</big><a class="reference internal" href="_modules/ccqw/coordWidget.html#TinyButton"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordWidget.TinyButton" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">PySide.QtGui.QPushButton</span></tt></p>
<p>A QPushButton with a size fitted to the button label</p>
<dl class="method">
<dt id="ccqw.coordWidget.TinyButton.__init__">
<tt class="descname">__init__</tt><big>(</big><em>label</em>, <em>parent</em><big>)</big><a class="reference internal" href="_modules/ccqw/coordWidget.html#TinyButton.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordWidget.TinyButton.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new TinyButton instance.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>label</strong> (<em>string</em>) &#8211; label to put on the tiny button</li>
<li><strong>parent</strong> (<em>QtGui widget</em>) &#8211; parent widget</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="ccqw.coordWidget.TinyButton.staticMetaObject">
<tt class="descname">staticMetaObject</tt><em class="property"> = &lt;PySide.QtCore.QMetaObject object at 0x4b58128&gt;</em><a class="headerlink" href="#ccqw.coordWidget.TinyButton.staticMetaObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="ccqw.coordWidget.CoordWidget">
<em class="property">class </em><tt class="descclassname">ccqw.coordWidget.</tt><tt class="descname">CoordWidget</tt><big>(</big><em>xyz=(0</em>, <em>0</em>, <em>0)</em>, <em>labels=(u'u03c6'</em>, <em>u'u03bb'</em>, <em>u'H'</em>, <em>u'E'</em>, <em>u'N'</em>, <em>u'Input File'</em>, <em>u'Output File')</em>, <em>initMode=0</em>, <em>repH=0</em>, <em>ell2Ortho=None</em>, <em>name=''</em>, <em>proj='+proj=latlong +datum=WGS84'</em>, <em>comboU=''</em>, <em>comboH=True</em><big>)</big><a class="reference internal" href="_modules/ccqw/coordWidget.html#CoordWidget"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordWidget.CoordWidget" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">PySide.QtGui.QWidget</span></tt></p>
<p>A widget for (phi, lamda, h) or (easting, northing, h) coordinates.</p>
<dl class="attribute">
<dt id="ccqw.coordWidget.CoordWidget.WGS84">
<tt class="descname">WGS84</tt><em class="property"> = '+proj=latlong +datum=WGS84'</em><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.WGS84" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="ccqw.coordWidget.CoordWidget.changedSignal">
<tt class="descname">changedSignal</tt><em class="property"> = &lt;PySide.QtCore.Signal object at 0x4b4da40&gt;</em><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.changedSignal" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="ccqw.coordWidget.CoordWidget.fileChangedSignal">
<tt class="descname">fileChangedSignal</tt><em class="property"> = &lt;PySide.QtCore.Signal object at 0x4b4dce0&gt;</em><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.fileChangedSignal" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="ccqw.coordWidget.CoordWidget.ModeD">
<tt class="descname">ModeD</tt><em class="property"> = 0</em><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.ModeD" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="ccqw.coordWidget.CoordWidget.ModeDM">
<tt class="descname">ModeDM</tt><em class="property"> = 1</em><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.ModeDM" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="ccqw.coordWidget.CoordWidget.ModeDMS">
<tt class="descname">ModeDMS</tt><em class="property"> = 2</em><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.ModeDMS" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="ccqw.coordWidget.CoordWidget.ModeFile">
<tt class="descname">ModeFile</tt><em class="property"> = 3</em><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.ModeFile" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="ccqw.coordWidget.CoordWidget.RepEll">
<tt class="descname">RepEll</tt><em class="property"> = 0</em><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.RepEll" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="ccqw.coordWidget.CoordWidget.RepOrtho">
<tt class="descname">RepOrtho</tt><em class="property"> = 1</em><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.RepOrtho" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="ccqw.coordWidget.CoordWidget.PlaneIndex">
<tt class="descname">PlaneIndex</tt><em class="property"> = 0</em><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.PlaneIndex" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="ccqw.coordWidget.CoordWidget.GeographicIndex">
<tt class="descname">GeographicIndex</tt><em class="property"> = 1</em><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.GeographicIndex" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="ccqw.coordWidget.CoordWidget.PointIndex">
<tt class="descname">PointIndex</tt><em class="property"> = 0</em><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.PointIndex" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="ccqw.coordWidget.CoordWidget.FileIndex">
<tt class="descname">FileIndex</tt><em class="property"> = 1</em><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.FileIndex" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.coordWidget.CoordWidget.__init__">
<tt class="descname">__init__</tt><big>(</big><em>xyz=(0</em>, <em>0</em>, <em>0)</em>, <em>labels=(u'u03c6'</em>, <em>u'u03bb'</em>, <em>u'H'</em>, <em>u'E'</em>, <em>u'N'</em>, <em>u'Input File'</em>, <em>u'Output File')</em>, <em>initMode=0</em>, <em>repH=0</em>, <em>ell2Ortho=None</em>, <em>name=''</em>, <em>proj='+proj=latlong +datum=WGS84'</em>, <em>comboU=''</em>, <em>comboH=True</em><big>)</big><a class="reference internal" href="_modules/ccqw/coordWidget.html#CoordWidget.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new instance of the widget.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>xyz</strong> (<em>tuple</em>) &#8211; Tuple (x, y, z) where: x = Easting or longitude,
y = Northing or latitude, z = Ellipsoidical height</li>
<li><strong>labels</strong> &#8211; labels to use for the different forms of the widget:
(φ, λ, H, E, N, InputFPCaption, OutputFPCaption)</li>
<li><strong>initMode</strong> (<em>int</em>) &#8211; Initial representation:
ModeD = D.DD or M.MM
ModeDM = D M.MM
ModeDMS = D M S.SS
ModeFile = File</li>
<li><strong>repH</strong> (<em>int</em>) &#8211; representation for height: RepEll = ell, RepOrtho = ortho</li>
<li><strong>ell2Ortho</strong> (<em>float</em>) &#8211; offset to add to z to obtain orthometric height</li>
<li><strong>name</strong> (<em>string, unicode</em>) &#8211; optional name of this object</li>
<li><strong>proj</strong> (<em>PROJ.4 string</em>) &#8211; Datum / Projection of xyz in PROJ.4 string form (default is
WGS84)</li>
<li><strong>comboU</strong> (<em>bool or string</em>) &#8211; Add a combo box to select degrees representation
Default: True, Values: (False, True, &#8216;File&#8217;)</li>
<li><strong>comboH</strong> (<em>bool (default True)</em>) &#8211; Add a combo box to select height representation</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.coordWidget.CoordWidget.filePath">
<tt class="descname">filePath</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/coordWidget.html#CoordWidget.filePath"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.filePath" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the File Picker text content</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">File Picker text content</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">string, unicode</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.coordWidget.CoordWidget.filePickerMode">
<tt class="descname">filePickerMode</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/coordWidget.html#CoordWidget.filePickerMode"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.filePickerMode" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the File Picker mode</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">File Picker mode</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">int</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.coordWidget.CoordWidget.enableFileMode">
<tt class="descname">enableFileMode</tt><big>(</big><em>enable</em><big>)</big><a class="reference internal" href="_modules/ccqw/coordWidget.html#CoordWidget.enableFileMode"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.enableFileMode" title="Permalink to this definition">¶</a></dt>
<dd><p>Enable / disable <cite>self.ModeFile</cite> in combo box</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>enable</strong> (<em>bool</em>) &#8211; enable / disable file mode</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.coordWidget.CoordWidget.setFilePickerMode">
<tt class="descname">setFilePickerMode</tt><big>(</big><em>mode</em><big>)</big><a class="reference internal" href="_modules/ccqw/coordWidget.html#CoordWidget.setFilePickerMode"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.setFilePickerMode" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the File Picker mode</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>mode</strong> (<em>int</em>) &#8211; set File Picker mode to <cite>mode</cite></td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.coordWidget.CoordWidget.pointChanged">
<tt class="descname">pointChanged</tt><big>(</big><em>newValue</em><big>)</big><a class="reference internal" href="_modules/ccqw/coordWidget.html#CoordWidget.pointChanged"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.pointChanged" title="Permalink to this definition">¶</a></dt>
<dd><p>Emit a <cite>changedSignal</cite> Signal with &#8216;point&#8217; argument.</p>
<blockquote>
<div>newValue argument is discarded.</div></blockquote>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>newValue</strong> (<em>string</em>) &#8211; argument is discarded</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.coordWidget.CoordWidget.fpChanged">
<tt class="descname">fpChanged</tt><big>(</big><em>newPath</em><big>)</big><a class="reference internal" href="_modules/ccqw/coordWidget.html#CoordWidget.fpChanged"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.fpChanged" title="Permalink to this definition">¶</a></dt>
<dd><p>Emit a <cite>fileChangedSignal</cite> Signal with <cite>newPath</cite> argument.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>newPath</strong> (<em>string, unicode</em>) &#8211; new file path</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.coordWidget.CoordWidget.datumShift">
<tt class="descname">datumShift</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/coordWidget.html#CoordWidget.datumShift"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.datumShift" title="Permalink to this definition">¶</a></dt>
<dd><p>Return Datum Shift for this point</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">Datum Shift for this point</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">float</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.coordWidget.CoordWidget.geoidGrid">
<tt class="descname">geoidGrid</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/coordWidget.html#CoordWidget.geoidGrid"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.geoidGrid" title="Permalink to this definition">¶</a></dt>
<dd><p>Return Geoid Grid for this point</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">Geoid Grid for this point</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">float</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.coordWidget.CoordWidget.setEll2Ortho">
<tt class="descname">setEll2Ortho</tt><big>(</big><em>ell2Ortho</em><big>)</big><a class="reference internal" href="_modules/ccqw/coordWidget.html#CoordWidget.setEll2Ortho"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.setEll2Ortho" title="Permalink to this definition">¶</a></dt>
<dd><p>Set ellipsoidical to orthometric height (geoid) difference</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>ell2Ortho</strong> (<em>float or None</em>) &#8211; ellipsoidical to orthometric height (geoid) difference</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.coordWidget.CoordWidget.setValue">
<tt class="descname">setValue</tt><big>(</big><em>*values</em><big>)</big><a class="reference internal" href="_modules/ccqw/coordWidget.html#CoordWidget.setValue"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.setValue" title="Permalink to this definition">¶</a></dt>
<dd><p>Set Latitude, Longitude, Height [ell2Ortho] <strong>OR</strong>
Easting, Northing, Height [ell2Ortho]</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>*values</strong> (<em>float</em>) &#8211; Latitude, Longitude, Height [ell2Ortho]</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.coordWidget.CoordWidget.isFilePickerShown">
<tt class="descname">isFilePickerShown</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/coordWidget.html#CoordWidget.isFilePickerShown"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.isFilePickerShown" title="Permalink to this definition">¶</a></dt>
<dd><p>Return True if the File Picker is shown</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">True if the File Picker is shown</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">bool</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.coordWidget.CoordWidget.showFilePicker">
<tt class="descname">showFilePicker</tt><big>(</big><em>showIt</em><big>)</big><a class="reference internal" href="_modules/ccqw/coordWidget.html#CoordWidget.showFilePicker"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.showFilePicker" title="Permalink to this definition">¶</a></dt>
<dd><p>If <cite>showIt</cite> evaluates True set widget mode to show the File Picker,
else show coordinates widget</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>showIt</strong> (<em>bool</em>) &#8211; set widget mode to show the File Picker if True</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.coordWidget.CoordWidget.setDRep">
<tt class="descname">setDRep</tt><big>(</big><em>rep</em><big>)</big><a class="reference internal" href="_modules/ccqw/coordWidget.html#CoordWidget.setDRep"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.setDRep" title="Permalink to this definition">¶</a></dt>
<dd><p>Set Degrees representation to rep if <a class="reference internal" href="#ccqw.coordWidget.CoordWidget.isLatLon" title="ccqw.coordWidget.CoordWidget.isLatLon"><tt class="xref py py-attr docutils literal"><span class="pre">isLatLon()</span></tt></a> evaluates to
True, else...</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>rep</strong> (<a class="reference internal" href="#ccqw.coordWidget.CoordWidget.ModeD" title="ccqw.coordWidget.CoordWidget.ModeD"><tt class="xref py py-class docutils literal"><span class="pre">ModeD</span></tt></a> .. <a class="reference internal" href="#ccqw.coordWidget.CoordWidget.ModeDMS" title="ccqw.coordWidget.CoordWidget.ModeDMS"><tt class="xref py py-class docutils literal"><span class="pre">ModeDMS</span></tt></a>) &#8211; representation to use for latLon or plane coordinates</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.coordWidget.CoordWidget.setHRep">
<tt class="descname">setHRep</tt><big>(</big><em>rep</em><big>)</big><a class="reference internal" href="_modules/ccqw/coordWidget.html#CoordWidget.setHRep"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.setHRep" title="Permalink to this definition">¶</a></dt>
<dd><p>Set Height representation to rep</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>rep</strong> (<a class="reference internal" href="#ccqw.coordWidget.CoordWidget.RepEll" title="ccqw.coordWidget.CoordWidget.RepEll"><tt class="xref py py-class docutils literal"><span class="pre">RepEll</span></tt></a> .. <a class="reference internal" href="#ccqw.coordWidget.CoordWidget.RepOrtho" title="ccqw.coordWidget.CoordWidget.RepOrtho"><tt class="xref py py-class docutils literal"><span class="pre">RepOrtho</span></tt></a>) &#8211; representation to use for height</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.coordWidget.CoordWidget.tvalue">
<tt class="descname">tvalue</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/coordWidget.html#CoordWidget.tvalue"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.tvalue" title="Permalink to this definition">¶</a></dt>
<dd><p>Return widget value as tuples of text</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">widget value as tuples of text</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">tuple</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.coordWidget.CoordWidget.fvalue">
<tt class="descname">fvalue</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/coordWidget.html#CoordWidget.fvalue"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.fvalue" title="Permalink to this definition">¶</a></dt>
<dd><p>Return widget value as tuples of float</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">widget value as tuples of float</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">tuple</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.coordWidget.CoordWidget.svalue">
<tt class="descname">svalue</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/coordWidget.html#CoordWidget.svalue"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.svalue" title="Permalink to this definition">¶</a></dt>
<dd><p>Return widget value as tuple of strings</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">widget value as tuples of strings</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">tuple</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.coordWidget.CoordWidget.xyz">
<tt class="descname">xyz</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/coordWidget.html#CoordWidget.xyz"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.xyz" title="Permalink to this definition">¶</a></dt>
<dd><p>Return either</p>
<blockquote>
<div><blockquote>
<div><blockquote>
<div><ul class="simple">
<li>longitude, latitude, height</li>
<li>easting, northing, height</li>
</ul>
</div></blockquote>
<p>according to <a class="reference internal" href="#ccqw.coordWidget.CoordWidget.isLatLon" title="ccqw.coordWidget.CoordWidget.isLatLon"><tt class="xref py py-class docutils literal"><span class="pre">isLatLon()</span></tt></a></p>
</div></blockquote>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">returns:</th><td class="field-body">x, y, z</td>
</tr>
<tr class="field-even field"><th class="field-name">rtype:</th><td class="field-body">tuple</td>
</tr>
<tr class="field-odd field"><th class="field-name">raises:</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</div></blockquote>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">Height is always <strong>ELLIPSOIDICAL</strong>.</p>
</div>
</dd></dl>

<dl class="method">
<dt id="ccqw.coordWidget.CoordWidget.ell2Ortho">
<tt class="descname">ell2Ortho</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/coordWidget.html#CoordWidget.ell2Ortho"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.ell2Ortho" title="Permalink to this definition">¶</a></dt>
<dd><p>Return ellipsoidical to orthometric height difference</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">ellipsoidical to orthometric height difference</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">float or None</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.coordWidget.CoordWidget.isLatLon">
<tt class="descname">isLatLon</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/coordWidget.html#CoordWidget.isLatLon"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.isLatLon" title="Permalink to this definition">¶</a></dt>
<dd><p>Return True if projection is in geographic coordinates</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">True if projection is in geographic coordinates</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">bool</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.coordWidget.CoordWidget.proj">
<tt class="descname">proj</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/coordWidget.html#CoordWidget.proj"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.proj" title="Permalink to this definition">¶</a></dt>
<dd><p>Return proj object for this point</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">proj object for this point</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">pyproj instance</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.coordWidget.CoordWidget.projStr">
<tt class="descname">projStr</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/coordWidget.html#CoordWidget.projStr"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.projStr" title="Permalink to this definition">¶</a></dt>
<dd><p>Return proj srs string for this point</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">proj srs string for this point</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">string</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.coordWidget.CoordWidget.projString">
<tt class="descname">projString</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/coordWidget.html#CoordWidget.projString"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.projString" title="Permalink to this definition">¶</a></dt>
<dd><p>Return full proj string (with geoidgrids and datumShifts)</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">proj string (with geoidgrids and datumShifts)</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">string</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.coordWidget.CoordWidget.setProj">
<tt class="descname">setProj</tt><big>(</big><em>projS</em><big>)</big><a class="reference internal" href="_modules/ccqw/coordWidget.html#CoordWidget.setProj"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.setProj" title="Permalink to this definition">¶</a></dt>
<dd><p>Set projection for this point and return it if ok else False</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>projS</strong> (<em>string</em>) &#8211; PROJ.4 string defining Datum / Projection</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">projection for this point or False</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">string or False</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.coordWidget.CoordWidget.decimals">
<tt class="descname">decimals</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/coordWidget.html#CoordWidget.decimals"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.decimals" title="Permalink to this definition">¶</a></dt>
<dd><p>Return x, y, z decimals for representation as tuples</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">decimals for representation of x, y, z</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">tuple (of  tuples)</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.coordWidget.CoordWidget.coordFormat">
<tt class="descname">coordFormat</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/coordWidget.html#CoordWidget.coordFormat"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.coordFormat" title="Permalink to this definition">¶</a></dt>
<dd><p>Return format of coordinates as shown in the comboBox</p>
</dd></dl>

<dl class="attribute">
<dt id="ccqw.coordWidget.CoordWidget.staticMetaObject">
<tt class="descname">staticMetaObject</tt><em class="property"> = &lt;PySide.QtCore.QMetaObject object at 0x4b647a0&gt;</em><a class="headerlink" href="#ccqw.coordWidget.CoordWidget.staticMetaObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

</div>
<div class="section" id="module-ccqw.degrees">
<span id="degrees-module"></span><h2><tt class="xref py py-mod docutils literal"><span class="pre">degrees</span></tt> Module<a class="headerlink" href="#module-ccqw.degrees" title="Permalink to this headline">¶</a></h2>
<p>A module to handle nicely conversions between floating point degrees and
any combination of degrees, minutes, seconds.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Author:</th><td class="field-body">2009-2011 Roberto Vidmar</td>
</tr>
<tr class="field-even field"><th class="field-name">Copyright:</th><td class="field-body">2011-2012
Nicola Creati &lt;<a class="reference external" href="mailto:ncreati&#37;&#52;&#48;inogs&#46;it">ncreati<span>&#64;</span>inogs<span>&#46;</span>it</a>&gt;
Roberto Vidmar &lt;<a class="reference external" href="mailto:rvidmar&#37;&#52;&#48;inogs&#46;it">rvidmar<span>&#64;</span>inogs<span>&#46;</span>it</a>&gt;</td>
</tr>
<tr class="field-odd field"><th class="field-name">License:</th><td class="field-body">MIT/X11 License (see <a class="reference download internal" href="_downloads/license.txt"><tt class="xref download docutils literal"><span class="pre">license.txt</span></tt></a>)</td>
</tr>
</tbody>
</table>
<dl class="function">
<dt id="ccqw.degrees.deprecated">
<tt class="descclassname">ccqw.degrees.</tt><tt class="descname">deprecated</tt><big>(</big><em>ob</em><big>)</big><a class="reference internal" href="_modules/ccqw/degrees.html#deprecated"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degrees.deprecated" title="Permalink to this definition">¶</a></dt>
<dd><p>The Identity Decorator</p>
</dd></dl>

<dl class="function">
<dt id="ccqw.degrees.deg2dms">
<tt class="descclassname">ccqw.degrees.</tt><tt class="descname">deg2dms</tt><big>(</big><em>degs</em>, <em>decimals=4</em><big>)</big><a class="reference internal" href="_modules/ccqw/degrees.html#deg2dms"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degrees.deg2dms" title="Permalink to this definition">¶</a></dt>
<dd><p>Return degs converted to (signum, degrees, minutes, seconds.decimals)</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>degs</strong> (<em>float</em>) &#8211; degrees</li>
<li><strong>decimals</strong> (<em>int</em>) &#8211; number of decimals</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">(signum, degrees, minutes, seconds.decimals)</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first">tuple</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="ccqw.degrees.deg2dm">
<tt class="descclassname">ccqw.degrees.</tt><tt class="descname">deg2dm</tt><big>(</big><em>degs</em>, <em>decimals=6</em><big>)</big><a class="reference internal" href="_modules/ccqw/degrees.html#deg2dm"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degrees.deg2dm" title="Permalink to this definition">¶</a></dt>
<dd><p>Return degs converted to (signum, degrees, minutes.decimals)</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>degs</strong> (<em>float</em>) &#8211; degrees</li>
<li><strong>decimals</strong> (<em>int</em>) &#8211; number of decimals</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">(signum, degrees, minutes.decimals)</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first">tuple</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="ccqw.degrees.point2DMSString">
<tt class="descclassname">ccqw.degrees.</tt><tt class="descname">point2DMSString</tt><big>(</big><em>coords, decimals, separators=['d', &quot;'&quot;, '&quot;']</em><big>)</big><a class="reference internal" href="_modules/ccqw/degrees.html#point2DMSString"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degrees.point2DMSString" title="Permalink to this definition">¶</a></dt>
<dd><p>For a couple of coords in degrees, return the following strings:</p>
<blockquote>
<div><p><em>[signum] degrees d minutes &#8216; seconds.decimals &#8220;</em></p>
<p><em>[signum] degrees d minutes &#8216; seconds.decimals &#8220;</em></p>
</div></blockquote>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>coords</strong> (<em>tuple of float</em>) &#8211; (degrees, degrees)</li>
<li><strong>decimals</strong> (<em>int</em>) &#8211; number of decimals for seconds</li>
<li><strong>separators</strong> (<em>tuple of characters</em>) &#8211; tuple of separators (defaults to [&#8216;d&#8217;, &#8220;&#8217;&#8221;, &#8216;&#8221;&#8217;])</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">&#8220;[signum] degrees d minutes &#8216; seconds.decimals &#8221; +
&#8220;[signum] degrees d minutes &#8216; seconds.decimals &#8220;</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first">string</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
<div class="admonition warning">
<p class="first admonition-title">Warning</p>
<p class="last">This function is deprecated, use d2dms instead</p>
</div>
</dd></dl>

<dl class="function">
<dt id="ccqw.degrees.point2DMString">
<tt class="descclassname">ccqw.degrees.</tt><tt class="descname">point2DMString</tt><big>(</big><em>coords, decimals, separators=['d', &quot;'&quot;]</em><big>)</big><a class="reference internal" href="_modules/ccqw/degrees.html#point2DMString"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degrees.point2DMString" title="Permalink to this definition">¶</a></dt>
<dd><p>For a couple of coords in degrees, return the following strings:</p>
<blockquote>
<div><p><em>[signum] degrees d minutes.decimals &#8216;</em></p>
<p><em>[signum] degrees d minutes.decimals &#8216;</em></p>
</div></blockquote>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>coords</strong> (<em>tuple of float</em>) &#8211; (degrees, degrees)</li>
<li><strong>decimals</strong> (<em>int</em>) &#8211; number of decimals for minutes</li>
<li><strong>separators</strong> (<em>tuple of characters</em>) &#8211; tuple of separators (defaults to [&#8216;d&#8217;, &#8216;&#8221;&#8217;])</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">&#8220;[signum] degrees d minutes.decimals &#8216; +
&#8220;[signum] degrees d minutes.decimals &#8216;</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first">string</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
<div class="admonition warning">
<p class="first admonition-title">Warning</p>
<p class="last">This function is deprecated, use d2dm instead</p>
</div>
</dd></dl>

<dl class="function">
<dt id="ccqw.degrees.num2str">
<tt class="descclassname">ccqw.degrees.</tt><tt class="descname">num2str</tt><big>(</big><em>num</em>, <em>decimals=6</em><big>)</big><a class="reference internal" href="_modules/ccqw/degrees.html#num2str"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degrees.num2str" title="Permalink to this definition">¶</a></dt>
<dd><p>Return num converted to string with &#8220;decimals&#8221; decimals</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>num</strong> (<em>float</em>) &#8211; number</li>
<li><strong>decimals</strong> (<em>int</em>) &#8211; number of decimals</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">d.dddddd</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first">string</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"><p class="first last">StandardError</p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="ccqw.degrees.divmod">
<tt class="descclassname">ccqw.degrees.</tt><tt class="descname">divmod</tt><big>(</big><em>dividend</em>, <em>*divisors</em><big>)</big><a class="reference internal" href="_modules/ccqw/degrees.html#divmod"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degrees.divmod" title="Permalink to this definition">¶</a></dt>
<dd><p>Return quotient and modulos for the integer division of dividend by
divisors</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>dividend</strong> (<em>float</em>) &#8211; dividend</li>
<li><strong>divisors</strong> (<em>integer(s)</em>) &#8211; variable number of divisors</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">tuple of quotient and modulo(s)</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first">tuple</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="ccqw.degrees.secs_to_wdhms">
<tt class="descclassname">ccqw.degrees.</tt><tt class="descname">secs_to_wdhms</tt><big>(</big><em>seconds</em><big>)</big><a class="reference internal" href="_modules/ccqw/degrees.html#secs_to_wdhms"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degrees.secs_to_wdhms" title="Permalink to this definition">¶</a></dt>
<dd><p>Return seconds converted to (week, days, hours, minutes, seconds)</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>seconds</strong> (<em>float</em>) &#8211; number of seconds</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">(week, days, hours, minutes, seconds)</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">tuple</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="ccqw.degrees.d2dms">
<tt class="descclassname">ccqw.degrees.</tt><tt class="descname">d2dms</tt><big>(</big><em>degs</em>, <em>decimals=4</em><big>)</big><a class="reference internal" href="_modules/ccqw/degrees.html#d2dms"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degrees.d2dms" title="Permalink to this definition">¶</a></dt>
<dd><p>Convert degs into degrees, minutes, seconds.decimals</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>degs</strong> (<em>float or numpy array</em>) &#8211; degrees</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">(degrees, minutes, seconds.decimals)</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">tuple</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="ccqw.degrees.d2dm">
<tt class="descclassname">ccqw.degrees.</tt><tt class="descname">d2dm</tt><big>(</big><em>degs</em>, <em>decimals=6</em><big>)</big><a class="reference internal" href="_modules/ccqw/degrees.html#d2dm"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degrees.d2dm" title="Permalink to this definition">¶</a></dt>
<dd><p>Convert degs into degrees, minutes.decimals</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>degs</strong> (<em>float or numpy array</em>) &#8211; degrees</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">(degrees, minutes.decimals)</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">tuple</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="ccqw.degrees.dms2deg">
<tt class="descclassname">ccqw.degrees.</tt><tt class="descname">dms2deg</tt><big>(</big><em>*dms</em><big>)</big><a class="reference internal" href="_modules/ccqw/degrees.html#dms2deg"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degrees.dms2deg" title="Permalink to this definition">¶</a></dt>
<dd><p>Degrees / [minutes [ / seconds]] to degrees.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>*dms</strong> (<em>float(s) or numpy array</em>) &#8211; degrees</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">degrees</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">float</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
<div class="admonition warning">
<p class="first admonition-title">Warning</p>
<p class="last">The sign MUST be specified by the first argument.</p>
</div>
</dd></dl>

<dl class="function">
<dt id="ccqw.degrees.degDMSfuzz">
<tt class="descclassname">ccqw.degrees.</tt><tt class="descname">degDMSfuzz</tt><big>(</big><em>deg</em>, <em>secDigits=3</em><big>)</big><a class="reference internal" href="_modules/ccqw/degrees.html#degDMSfuzz"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degrees.degDMSfuzz" title="Permalink to this definition">¶</a></dt>
<dd><p>Convert degrees to deg/min/sec avoiding the <em>60 seconds</em> syndrome.</p>
<blockquote>
<div><p>If we are displaying integral seconds, then seconds values
whose fraction is in the range [0.5, 1.0) will round up,
which will make a value like 59.6 display as 60, which is bad.</p>
<p>So for that case, we can subtract 0.5 seconds from the degree
value before conversion to avoid the problem.  Similarly,
if we are displaying seconds with tenths, the trouble range is
values with fractions in [0.95, 1.0).  If hundredths, the
trouble range is [0.995, 1.0).  In general, for D digits
of precision, subtracting (0.5/(10**D)) will prevent the
<em>60 seconds</em> syndrome.</p>
<p>However, we do not want to apply the fuzz unless it actually
will cause rounding up.</p>
</div></blockquote>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>deg</strong> (<em>float</em>) &#8211; degrees</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">(sign, degrees, minutes, seconds.decimals)</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">tuple</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="ccqw.degrees.degDMfuzz">
<tt class="descclassname">ccqw.degrees.</tt><tt class="descname">degDMfuzz</tt><big>(</big><em>deg</em>, <em>secDigits=5</em><big>)</big><a class="reference internal" href="_modules/ccqw/degrees.html#degDMfuzz"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degrees.degDMfuzz" title="Permalink to this definition">¶</a></dt>
<dd><p>Convert degrees to deg/min avoiding the <em>60 minutes</em> syndrome.</p>
<blockquote>
<div><p>If we are displaying integral minutes, then minutes values
whose fraction is in the range [0.5, 1.0) will round up,
which will make a value like 59.6 display as 60, which is bad.
So for that case, we can subtract 0.5 minutes from the degree
value before conversion to avoid the problem.  Similarly,
if we&#8217;re displaying minutes with tenths, the trouble range is
values with fractions in [0.95, 1.0).  If hundredths, the
trouble range is [0.995, 1.0).  In general, for D digits
of precision, subtracting (0.5/(10**D)) will prevent the
<em>60 minutes</em> syndrome.</p>
<p>However, we do not want to apply the fuzz unless it actually
will cause rounding up.</p>
</div></blockquote>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>deg</strong> (<em>float</em>) &#8211; degrees</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">(sign, degrees, minutes.decimals)</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">tuple</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

</div>
<div class="section" id="degreeswidget-module">
<h2><tt class="xref py py-mod docutils literal"><span class="pre">degreesWidget</span></tt> Module<a class="headerlink" href="#degreeswidget-module" title="Permalink to this headline">¶</a></h2>
<p class="graphviz">
<img src="_images/inheritance-2d105e82c289b177c5947646e675a7dc60398f8f.png" alt="Inheritance diagram of ccqw.degreesWidget" usemap="#inheritance588ea04102" class="inheritance"/>
<map id="inheritance588ea04102" name="inheritance588ea04102">
<area shape="rect" id="node4" href="#ccqw.degreesWidget.AbstractDEditor" title="ccqw.degreesWidget.AbstractDEditor" alt="" coords="216,315,453,343"/>
<area shape="rect" id="node10" href="#ccqw.degreesWidget.DMSEditor" title="ccqw.degreesWidget.DMSEditor" alt="" coords="5,393,216,421"/>
<area shape="rect" id="node15" href="#ccqw.degreesWidget.DEditor" title="ccqw.degreesWidget.DEditor" alt="" coords="240,393,429,421"/>
<area shape="rect" id="node20" href="#ccqw.degreesWidget.DMEditor" title="ccqw.degreesWidget.DMEditor" alt="" coords="453,393,653,421"/>
<area shape="rect" id="node7" href="#ccqw.degreesWidget.DValidator" title="ccqw.degreesWidget.DValidator" alt="" coords="701,315,907,343"/>
<area shape="rect" id="node12" href="#ccqw.degreesWidget.DegreesWidget" title="ccqw.degreesWidget.DegreesWidget" alt="" coords="440,238,675,266"/>
</map>
</p>
<span class="target" id="module-ccqw.degreesWidget"></span><p>A Degrees Widget module to handles different representations</p>
<blockquote>
<div><ul class="simple">
<li>Degrees.decimals,</li>
<li>Degrees Minutes.decimals,</li>
<li>Degrees, Minutes, Seconds.decimals</li>
</ul>
</div></blockquote>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Author:</th><td class="field-body"><ul class="first simple">
<li>20111202-20120214 Roberto Vidmar</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Revision:</th><td class="field-body"><p class="first">$Revision: 52 $
$Date: 2012-11-12 10:07:15 +0100 (Mon, 12 Nov 2012) $</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Copyright:</th><td class="field-body"><p class="first">2011-2012
Nicola Creati &lt;<a class="reference external" href="mailto:ncreati&#37;&#52;&#48;inogs&#46;it">ncreati<span>&#64;</span>inogs<span>&#46;</span>it</a>&gt;
Roberto Vidmar &lt;<a class="reference external" href="mailto:rvidmar&#37;&#52;&#48;inogs&#46;it">rvidmar<span>&#64;</span>inogs<span>&#46;</span>it</a>&gt;</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">License:</th><td class="field-body"><p class="first last">MIT/X11 License (see <a class="reference download internal" href="_downloads/license.txt"><tt class="xref download docutils literal"><span class="pre">license.txt</span></tt></a>)</p>
</td>
</tr>
</tbody>
</table>
<dl class="class">
<dt id="ccqw.degreesWidget.DValidator">
<em class="property">class </em><tt class="descclassname">ccqw.degreesWidget.</tt><tt class="descname">DValidator</tt><big>(</big><em>parent</em>, <em>regexp</em><big>)</big><a class="reference internal" href="_modules/ccqw/degreesWidget.html#DValidator"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degreesWidget.DValidator" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">PySide.QtGui.QRegExpValidator</span></tt></p>
<p>A validator for Degrees in formats defined by regular Expression</p>
<dl class="method">
<dt id="ccqw.degreesWidget.DValidator.__init__">
<tt class="descname">__init__</tt><big>(</big><em>parent</em>, <em>regexp</em><big>)</big><a class="reference internal" href="_modules/ccqw/degreesWidget.html#DValidator.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degreesWidget.DValidator.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new instance of the validator.</p>
<blockquote>
<div><div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">parent <cite>AND</cite> regexp must be supplied.</p>
</div>
</div></blockquote>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>parent</strong> (<em>QtGui widget</em>) &#8211; parent widget</li>
<li><strong>regexp</strong> (<em>QtCore.QRegExp</em>) &#8211; regular expression that will be used for validation.</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="ccqw.degreesWidget.DValidator.staticMetaObject">
<tt class="descname">staticMetaObject</tt><em class="property"> = &lt;PySide.QtCore.QMetaObject object at 0x4b40dd0&gt;</em><a class="headerlink" href="#ccqw.degreesWidget.DValidator.staticMetaObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="ccqw.degreesWidget.AbstractDEditor">
<em class="property">class </em><tt class="descclassname">ccqw.degreesWidget.</tt><tt class="descname">AbstractDEditor</tt><big>(</big><em>parent</em><big>)</big><a class="reference internal" href="_modules/ccqw/degreesWidget.html#AbstractDEditor"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degreesWidget.AbstractDEditor" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">PySide.QtGui.QLineEdit</span></tt></p>
<p>Abstract Line Editor class for degrees handling</p>
<dl class="method">
<dt id="ccqw.degreesWidget.AbstractDEditor.__init__">
<tt class="descname">__init__</tt><big>(</big><em>parent</em><big>)</big><a class="reference internal" href="_modules/ccqw/degreesWidget.html#AbstractDEditor.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degreesWidget.AbstractDEditor.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new instance of the editor.</p>
<blockquote>
<div><div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">This class should not be used without subclassing.</p>
</div>
</div></blockquote>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>parent</strong> (<em>QtGui widget</em>) &#8211; parent widget</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.degreesWidget.AbstractDEditor.signAndText">
<tt class="descname">signAndText</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/degreesWidget.html#AbstractDEditor.signAndText"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degreesWidget.AbstractDEditor.signAndText" title="Permalink to this definition">¶</a></dt>
<dd><p>Return sign and text of this QLineEdit</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">sign and text of this QLineEdit</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">tuple</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.degreesWidget.AbstractDEditor.fvalue">
<tt class="descname">fvalue</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/degreesWidget.html#AbstractDEditor.fvalue"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degreesWidget.AbstractDEditor.fvalue" title="Permalink to this definition">¶</a></dt>
<dd><p>Return floating point list of values</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">floating point value</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">float</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.degreesWidget.AbstractDEditor.svalue">
<tt class="descname">svalue</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/degreesWidget.html#AbstractDEditor.svalue"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degreesWidget.AbstractDEditor.svalue" title="Permalink to this definition">¶</a></dt>
<dd><p>Return widget text</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">text content</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">string</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.degreesWidget.AbstractDEditor.setValue">
<tt class="descname">setValue</tt><big>(</big><em>value</em><big>)</big><a class="reference internal" href="_modules/ccqw/degreesWidget.html#AbstractDEditor.setValue"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degreesWidget.AbstractDEditor.setValue" title="Permalink to this definition">¶</a></dt>
<dd><p>Set Editor value</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>value</strong> (<em>string, int or float</em>) &#8211; value to set</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="ccqw.degreesWidget.AbstractDEditor.staticMetaObject">
<tt class="descname">staticMetaObject</tt><em class="property"> = &lt;PySide.QtCore.QMetaObject object at 0x4b40e18&gt;</em><a class="headerlink" href="#ccqw.degreesWidget.AbstractDEditor.staticMetaObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="ccqw.degreesWidget.DEditor">
<em class="property">class </em><tt class="descclassname">ccqw.degreesWidget.</tt><tt class="descname">DEditor</tt><big>(</big><em>parent</em><big>)</big><a class="reference internal" href="_modules/ccqw/degreesWidget.html#DEditor"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degreesWidget.DEditor" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#ccqw.degreesWidget.AbstractDEditor" title="ccqw.degreesWidget.AbstractDEditor"><tt class="xref py py-class docutils literal"><span class="pre">ccqw.degreesWidget.AbstractDEditor</span></tt></a></p>
<p>Degrees Line Editor</p>
<p>Will contain float numbers (degrees) with the format <strong>[+-]ddd.ddddddddd</strong></p>
<dl class="method">
<dt id="ccqw.degreesWidget.DEditor.__init__">
<tt class="descname">__init__</tt><big>(</big><em>parent</em><big>)</big><a class="reference internal" href="_modules/ccqw/degreesWidget.html#DEditor.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degreesWidget.DEditor.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new instance of the editor.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>parent</strong> (<em>QtGui widget</em>) &#8211; parent widget</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.degreesWidget.DEditor.value">
<tt class="descname">value</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/degreesWidget.html#DEditor.value"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degreesWidget.DEditor.value" title="Permalink to this definition">¶</a></dt>
<dd><p>Return signed widget string value</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">signed widget string value</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">string</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.degreesWidget.DEditor.asString">
<tt class="descname">asString</tt><big>(</big><em>value</em><big>)</big><a class="reference internal" href="_modules/ccqw/degreesWidget.html#DEditor.asString"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degreesWidget.DEditor.asString" title="Permalink to this definition">¶</a></dt>
<dd><p>Return value as formatted string</p>
<blockquote>
<div>Format is embedded into class.</div></blockquote>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>value</strong> (<em>float or int</em>) &#8211; numerical value</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><cite>value</cite> as formatted string</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">string</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="ccqw.degreesWidget.DEditor.staticMetaObject">
<tt class="descname">staticMetaObject</tt><em class="property"> = &lt;PySide.QtCore.QMetaObject object at 0x4b40e60&gt;</em><a class="headerlink" href="#ccqw.degreesWidget.DEditor.staticMetaObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="ccqw.degreesWidget.DMEditor">
<em class="property">class </em><tt class="descclassname">ccqw.degreesWidget.</tt><tt class="descname">DMEditor</tt><big>(</big><em>parent</em><big>)</big><a class="reference internal" href="_modules/ccqw/degreesWidget.html#DMEditor"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degreesWidget.DMEditor" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#ccqw.degreesWidget.AbstractDEditor" title="ccqw.degreesWidget.AbstractDEditor"><tt class="xref py py-class docutils literal"><span class="pre">ccqw.degreesWidget.AbstractDEditor</span></tt></a></p>
<p>Degrees, Minutes Line Editor</p>
<p>Will contain float numbers (degrees, minutes ) with the format
<strong>[+-]ddd mm.mmmmmm</strong></p>
<dl class="method">
<dt id="ccqw.degreesWidget.DMEditor.__init__">
<tt class="descname">__init__</tt><big>(</big><em>parent</em><big>)</big><a class="reference internal" href="_modules/ccqw/degreesWidget.html#DMEditor.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degreesWidget.DMEditor.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new instance of the editor.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>parent</strong> (<em>QtGui widget</em>) &#8211; parent widget</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.degreesWidget.DMEditor.value">
<tt class="descname">value</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/degreesWidget.html#DMEditor.value"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degreesWidget.DMEditor.value" title="Permalink to this definition">¶</a></dt>
<dd><p>Return signed widget string value</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">signed widget string value</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">string</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.degreesWidget.DMEditor.asString">
<tt class="descname">asString</tt><big>(</big><em>value</em><big>)</big><a class="reference internal" href="_modules/ccqw/degreesWidget.html#DMEditor.asString"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degreesWidget.DMEditor.asString" title="Permalink to this definition">¶</a></dt>
<dd><p>Return value as formatted string</p>
<blockquote>
<div>Format is embedded into class.</div></blockquote>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>value</strong> (<em>float or int</em>) &#8211; numerical value</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><cite>value</cite> as formatted string</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">string</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="ccqw.degreesWidget.DMEditor.staticMetaObject">
<tt class="descname">staticMetaObject</tt><em class="property"> = &lt;PySide.QtCore.QMetaObject object at 0x4b40ea8&gt;</em><a class="headerlink" href="#ccqw.degreesWidget.DMEditor.staticMetaObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="ccqw.degreesWidget.DMSEditor">
<em class="property">class </em><tt class="descclassname">ccqw.degreesWidget.</tt><tt class="descname">DMSEditor</tt><big>(</big><em>parent</em><big>)</big><a class="reference internal" href="_modules/ccqw/degreesWidget.html#DMSEditor"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degreesWidget.DMSEditor" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#ccqw.degreesWidget.AbstractDEditor" title="ccqw.degreesWidget.AbstractDEditor"><tt class="xref py py-class docutils literal"><span class="pre">ccqw.degreesWidget.AbstractDEditor</span></tt></a></p>
<p>Degrees, Minutes, Seconds Line Editor</p>
<p>Will contain float numbers (degrees, minutes ) with the format
<strong>[+-]ddd mm ss.ssss</strong></p>
<dl class="method">
<dt id="ccqw.degreesWidget.DMSEditor.__init__">
<tt class="descname">__init__</tt><big>(</big><em>parent</em><big>)</big><a class="reference internal" href="_modules/ccqw/degreesWidget.html#DMSEditor.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degreesWidget.DMSEditor.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new instance of the editor.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>parent</strong> (<em>QtGui widget</em>) &#8211; parent widget</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.degreesWidget.DMSEditor.value">
<tt class="descname">value</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/degreesWidget.html#DMSEditor.value"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degreesWidget.DMSEditor.value" title="Permalink to this definition">¶</a></dt>
<dd><p>Return signed widget string value</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">signed widget string value</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">string</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.degreesWidget.DMSEditor.asString">
<tt class="descname">asString</tt><big>(</big><em>value</em><big>)</big><a class="reference internal" href="_modules/ccqw/degreesWidget.html#DMSEditor.asString"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degreesWidget.DMSEditor.asString" title="Permalink to this definition">¶</a></dt>
<dd><p>Return value as formatted string</p>
<blockquote>
<div>Format is embedded into class.</div></blockquote>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>value</strong> (<em>float or int</em>) &#8211; numerical value</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><cite>value</cite> as formatted string</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">string</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="ccqw.degreesWidget.DMSEditor.staticMetaObject">
<tt class="descname">staticMetaObject</tt><em class="property"> = &lt;PySide.QtCore.QMetaObject object at 0x4b40ef0&gt;</em><a class="headerlink" href="#ccqw.degreesWidget.DMSEditor.staticMetaObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="ccqw.degreesWidget.DegreesWidget">
<em class="property">class </em><tt class="descclassname">ccqw.degreesWidget.</tt><tt class="descname">DegreesWidget</tt><big>(</big><em>*args</em>, <em>**kargs</em><big>)</big><a class="reference internal" href="_modules/ccqw/degreesWidget.html#DegreesWidget"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degreesWidget.DegreesWidget" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">PySide.QtGui.QWidget</span></tt></p>
<p>A Degrees Widget that handles different representations:</p>
<ul class="simple">
<li>Degrees.decimals,</li>
<li>Degrees Minutes.decimals,</li>
<li>Degrees, Minutes, Seconds.decimals</li>
</ul>
<dl class="attribute">
<dt id="ccqw.degreesWidget.DegreesWidget.textEditedSignal">
<tt class="descname">textEditedSignal</tt><em class="property"> = &lt;PySide.QtCore.Signal object at 0x4b4d030&gt;</em><a class="headerlink" href="#ccqw.degreesWidget.DegreesWidget.textEditedSignal" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="ccqw.degreesWidget.DegreesWidget.DDD">
<tt class="descname">DDD</tt><em class="property"> = 0</em><a class="headerlink" href="#ccqw.degreesWidget.DegreesWidget.DDD" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="ccqw.degreesWidget.DegreesWidget.DMM">
<tt class="descname">DMM</tt><em class="property"> = 1</em><a class="headerlink" href="#ccqw.degreesWidget.DegreesWidget.DMM" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="ccqw.degreesWidget.DegreesWidget.DMS">
<tt class="descname">DMS</tt><em class="property"> = 2</em><a class="headerlink" href="#ccqw.degreesWidget.DegreesWidget.DMS" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.degreesWidget.DegreesWidget.__init__">
<tt class="descname">__init__</tt><big>(</big><em>*args</em>, <em>**kargs</em><big>)</big><a class="reference internal" href="_modules/ccqw/degreesWidget.html#DegreesWidget.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degreesWidget.DegreesWidget.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new instance of the widget.</p>
<p>The first argument, if present, is the value to assign.</p>
<p>The following keyword arguments are understood:</p>
<ul>
<li><dl class="first docutils">
<dt>latitude <span class="classifier-delimiter">:</span> <span class="classifier">widget will hold latitude [-90, 90] degrees.</span></dt>
<dd><p class="first last">Default is True</p>
</dd>
</dl>
</li>
<li><dl class="first docutils">
<dt>signstr <span class="classifier-delimiter">:</span> <span class="classifier">characters identifying sign according to latitude.</span></dt>
<dd><p class="first last">Default is &#8220;NSEW&#8221;</p>
</dd>
</dl>
</li>
<li><dl class="first docutils">
<dt>degchr <span class="classifier-delimiter">:</span> <span class="classifier">character for degrees.</span></dt>
<dd><p class="first last">Default is °</p>
</dd>
</dl>
</li>
<li><dl class="first docutils">
<dt>minchr <span class="classifier-delimiter">:</span> <span class="classifier">character for minutes.</span></dt>
<dd><p class="first last">Default is &#8216;</p>
</dd>
</dl>
</li>
<li><dl class="first docutils">
<dt>secchr <span class="classifier-delimiter">:</span> <span class="classifier">character for seconds.</span></dt>
<dd><p class="first last">Default is &#8220;</p>
</dd>
</dl>
</li>
<li><dl class="first docutils">
<dt>ddecimals <span class="classifier-delimiter">:</span> <span class="classifier">number of decimals for degrees representation.</span></dt>
<dd><p class="first last">Default is 9</p>
</dd>
</dl>
</li>
<li><dl class="first docutils">
<dt>mdecimals <span class="classifier-delimiter">:</span> <span class="classifier">number of decimals for degrees, minutes.</span></dt>
<dd><p class="first last">Default is 6</p>
</dd>
</dl>
</li>
<li><dl class="first docutils">
<dt>sdecimals <span class="classifier-delimiter">:</span> <span class="classifier">number of decimals for degrees, minutes, seconds.</span></dt>
<dd><p class="first last">Default is 4</p>
</dd>
</dl>
</li>
<li><dl class="first docutils">
<dt>rep <span class="classifier-delimiter">:</span> <span class="classifier">representation to show after creation.</span></dt>
<dd><p class="first last">Default is <a class="reference internal" href="#ccqw.degreesWidget.DegreesWidget.DDD" title="ccqw.degreesWidget.DegreesWidget.DDD"><tt class="xref py py-class docutils literal"><span class="pre">DDD</span></tt></a></p>
</dd>
</dl>
</li>
<li><dl class="first docutils">
<dt>align <span class="classifier-delimiter">:</span> <span class="classifier">alignment of the widget.</span></dt>
<dd><p class="first last">Default is Qt.AlignRight</p>
</dd>
</dl>
</li>
<li><dl class="first docutils">
<dt>readonly <span class="classifier-delimiter">:</span> <span class="classifier">read only attribute.</span></dt>
<dd><p class="first last">Default is False</p>
</dd>
</dl>
</li>
</ul>
</dd></dl>

<dl class="method">
<dt id="ccqw.degreesWidget.DegreesWidget.textEdited">
<tt class="descname">textEdited</tt><big>(</big><em>text</em><big>)</big><a class="reference internal" href="_modules/ccqw/degreesWidget.html#DegreesWidget.textEdited"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degreesWidget.DegreesWidget.textEdited" title="Permalink to this definition">¶</a></dt>
<dd><p>Update all widgets except the one that sent the signal</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>text</strong> (<em>string</em>) &#8211; the content of the editor widget</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.degreesWidget.DegreesWidget.setRep">
<tt class="descname">setRep</tt><big>(</big><em>rep=0</em><big>)</big><a class="reference internal" href="_modules/ccqw/degreesWidget.html#DegreesWidget.setRep"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degreesWidget.DegreesWidget.setRep" title="Permalink to this definition">¶</a></dt>
<dd><p>Set widget aspect (representation) according to rep:</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>rep</strong> (any of <a class="reference internal" href="#ccqw.degreesWidget.DegreesWidget.DDD" title="ccqw.degreesWidget.DegreesWidget.DDD"><tt class="xref py py-class docutils literal"><span class="pre">DDD</span></tt></a>, <a class="reference internal" href="#ccqw.degreesWidget.DegreesWidget.DMM" title="ccqw.degreesWidget.DegreesWidget.DMM"><tt class="xref py py-class docutils literal"><span class="pre">DMM</span></tt></a>, <a class="reference internal" href="#ccqw.degreesWidget.DegreesWidget.DMS" title="ccqw.degreesWidget.DegreesWidget.DMS"><tt class="xref py py-class docutils literal"><span class="pre">DMS</span></tt></a>) &#8211; new representation</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="ccqw.degreesWidget.DegreesWidget.staticMetaObject">
<tt class="descname">staticMetaObject</tt><em class="property"> = &lt;PySide.QtCore.QMetaObject object at 0x4b40f38&gt;</em><a class="headerlink" href="#ccqw.degreesWidget.DegreesWidget.staticMetaObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.degreesWidget.DegreesWidget.fvalue">
<tt class="descname">fvalue</tt><big>(</big><em>rep=None</em><big>)</big><a class="reference internal" href="_modules/ccqw/degreesWidget.html#DegreesWidget.fvalue"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degreesWidget.DegreesWidget.fvalue" title="Permalink to this definition">¶</a></dt>
<dd><p>Return widget float value(s) according to rep
Default is current representation</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>rep</strong> (any of <a class="reference internal" href="#ccqw.degreesWidget.DegreesWidget.DDD" title="ccqw.degreesWidget.DegreesWidget.DDD"><tt class="xref py py-class docutils literal"><span class="pre">DDD</span></tt></a>, <a class="reference internal" href="#ccqw.degreesWidget.DegreesWidget.DMM" title="ccqw.degreesWidget.DegreesWidget.DMM"><tt class="xref py py-class docutils literal"><span class="pre">DMM</span></tt></a>, <a class="reference internal" href="#ccqw.degreesWidget.DegreesWidget.DMS" title="ccqw.degreesWidget.DegreesWidget.DMS"><tt class="xref py py-class docutils literal"><span class="pre">DMS</span></tt></a>) &#8211; representation</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">widget float value(s) according to rep</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">list</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.degreesWidget.DegreesWidget.tvalue">
<tt class="descname">tvalue</tt><big>(</big><em>rep=None</em><big>)</big><a class="reference internal" href="_modules/ccqw/degreesWidget.html#DegreesWidget.tvalue"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degreesWidget.DegreesWidget.tvalue" title="Permalink to this definition">¶</a></dt>
<dd><p>Return widget tuple string value according to rep
Default is current representation</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>rep</strong> (any of <a class="reference internal" href="#ccqw.degreesWidget.DegreesWidget.DDD" title="ccqw.degreesWidget.DegreesWidget.DDD"><tt class="xref py py-class docutils literal"><span class="pre">DDD</span></tt></a>, <a class="reference internal" href="#ccqw.degreesWidget.DegreesWidget.DMM" title="ccqw.degreesWidget.DegreesWidget.DMM"><tt class="xref py py-class docutils literal"><span class="pre">DMM</span></tt></a>, <a class="reference internal" href="#ccqw.degreesWidget.DegreesWidget.DMS" title="ccqw.degreesWidget.DegreesWidget.DMS"><tt class="xref py py-class docutils literal"><span class="pre">DMS</span></tt></a>) &#8211; representation</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">widget tuple string value according to rep</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">tuple</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.degreesWidget.DegreesWidget.svalue">
<tt class="descname">svalue</tt><big>(</big><em>rep=None</em><big>)</big><a class="reference internal" href="_modules/ccqw/degreesWidget.html#DegreesWidget.svalue"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degreesWidget.DegreesWidget.svalue" title="Permalink to this definition">¶</a></dt>
<dd><p>Return widget string value according to rep</p>
<blockquote>
<div>Default is current representation</div></blockquote>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>rep</strong> (any of <a class="reference internal" href="#ccqw.degreesWidget.DegreesWidget.DDD" title="ccqw.degreesWidget.DegreesWidget.DDD"><tt class="xref py py-class docutils literal"><span class="pre">DDD</span></tt></a>, <a class="reference internal" href="#ccqw.degreesWidget.DegreesWidget.DMM" title="ccqw.degreesWidget.DegreesWidget.DMM"><tt class="xref py py-class docutils literal"><span class="pre">DMM</span></tt></a>, <a class="reference internal" href="#ccqw.degreesWidget.DegreesWidget.DMS" title="ccqw.degreesWidget.DegreesWidget.DMS"><tt class="xref py py-class docutils literal"><span class="pre">DMS</span></tt></a>) &#8211; representation</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">widget string value according to rep</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">tuple</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.degreesWidget.DegreesWidget.setValue">
<tt class="descname">setValue</tt><big>(</big><em>*values</em><big>)</big><a class="reference internal" href="_modules/ccqw/degreesWidget.html#DegreesWidget.setValue"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degreesWidget.DegreesWidget.setValue" title="Permalink to this definition">¶</a></dt>
<dd><p>Set widget value.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>*values</strong> (<em>float or tuple of floats</em>) &#8211; either degs <em>OR</em> (degs mins) <em>OR</em> (degs, mins, secs)</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.degreesWidget.DegreesWidget.rep">
<tt class="descname">rep</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/degreesWidget.html#DegreesWidget.rep"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.degreesWidget.DegreesWidget.rep" title="Permalink to this definition">¶</a></dt>
<dd><p>Return current representation</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">widget current representation</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">int</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="fieldswizard-module">
<h2><tt class="xref py py-mod docutils literal"><span class="pre">fieldsWizard</span></tt> Module<a class="headerlink" href="#fieldswizard-module" title="Permalink to this headline">¶</a></h2>
<p class="graphviz">
<img src="_images/inheritance-a9b2831835b244dbc24cc717910fe89f165202c9.png" alt="Inheritance diagram of ccqw.fieldsWizard" usemap="#inheritance663934cced" class="inheritance"/>
<map id="inheritance663934cced" name="inheritance663934cced">
<area shape="rect" id="node7" href="#ccqw.fieldsWizard.FileBrowserWidget" title="ccqw.fieldsWizard.FileBrowserWidget" alt="" coords="232,625,472,653"/>
<area shape="rect" id="node26" href="#ccqw.fieldsWizard.FieldsSelector" title="ccqw.fieldsWizard.FieldsSelector" alt="" coords="5,393,219,421"/>
<area shape="rect" id="node18" href="#ccqw.fieldsWizard.FieldSelectionDialog" title="ccqw.fieldsWizard.FieldSelectionDialog" alt="" coords="464,315,712,343"/>
<area shape="rect" id="node29" href="#ccqw.fieldsWizard.FieldsWizard" title="ccqw.fieldsWizard.FieldsWizard" alt="" coords="736,315,941,343"/>
</map>
</p>
<span class="target" id="module-ccqw.fieldsWizard"></span><p>A module to choose column fields from an ASCII file and read them into a
numpy array.</p>
<blockquote>
<div><p>Module has a wizard class to choose interactively the columns and a
funcion to read ASCII numbers into a numpy array.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Author:</th><td class="field-body"><ul class="first simple">
<li>20111202-20120214 Roberto Vidmar</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Revision:</th><td class="field-body"><p class="first">$Revision: 52 $
$Date: 2012-11-12 10:07:15 +0100 (Mon, 12 Nov 2012) $</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Copyright:</th><td class="field-body"><p class="first">2011-2012
Nicola Creati &lt;<a class="reference external" href="mailto:ncreati&#37;&#52;&#48;inogs&#46;it">ncreati<span>&#64;</span>inogs<span>&#46;</span>it</a>&gt;
Roberto Vidmar &lt;<a class="reference external" href="mailto:rvidmar&#37;&#52;&#48;inogs&#46;it">rvidmar<span>&#64;</span>inogs<span>&#46;</span>it</a>&gt;</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">License:</th><td class="field-body"><p class="first last">MIT/X11 License (see <a class="reference download internal" href="_downloads/license.txt"><tt class="xref download docutils literal"><span class="pre">license.txt</span></tt></a>)</p>
</td>
</tr>
</tbody>
</table>
<p>ASCII files we wuold like to read are like this:</p>
</div></blockquote>
<div class="highlight-python"><div class="highlight"><pre><span class="go">&gt;&gt;&gt;</span>
<span class="go">45°38&#39;49.879&quot; 13°45&#39;34.397&quot; 52.80</span>
<span class="go">13d45.573283&#39; 45d38.831317&#39; 52.80</span>
<span class="go">13.759554722 45.647188611 52.80</span>
<span class="go">393163.59 5088931.03 127.29 222.22</span>
<span class="go">393163.35°5088929.23 130.70</span>
<span class="go">393164.35 5088930.35 127.65</span>
<span class="go">393165.54 5088930.29 129.22</span>
<span class="go">393164.43 5088929.26 129.98</span>
<span class="go">393165.54 5088930.29 129.22</span>
</pre></div>
</div>
<dl class="class">
<dt id="ccqw.fieldsWizard.FieldSelectionDialog">
<em class="property">class </em><tt class="descclassname">ccqw.fieldsWizard.</tt><tt class="descname">FieldSelectionDialog</tt><big>(</big><em>fieldsTable</em>, <em>requiredIndexes</em>, <em>selectedFields</em><big>)</big><a class="reference internal" href="_modules/ccqw/fieldsWizard.html#FieldSelectionDialog"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.fieldsWizard.FieldSelectionDialog" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">PySide.QtGui.QDialog</span></tt></p>
<p>A Field selection dialog with field names and radio buttons.
The number of columns is driven by fieldsTable.</p>
<dl class="method">
<dt id="ccqw.fieldsWizard.FieldSelectionDialog.__init__">
<tt class="descname">__init__</tt><big>(</big><em>fieldsTable</em>, <em>requiredIndexes</em>, <em>selectedFields</em><big>)</big><a class="reference internal" href="_modules/ccqw/fieldsWizard.html#FieldSelectionDialog.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.fieldsWizard.FieldSelectionDialog.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new FieldSelectionDialog instance.</p>
<blockquote>
<div><p>fieldsTable usually is a table like these:</p>
<div class="highlight-python"><div class="highlight"><pre><span class="go">&gt;&gt;&gt;</span>
<span class="go">  [</span>
<span class="go">  [u&#39;Longitude&#39;, u&#39;D.DDD&#39;, u&#39;D&#39;, u&#39;M.MMM&#39;, u&#39;M&#39;, u&#39;S.SSS&#39;],</span>
<span class="go">  [u&#39;Latitude&#39;,  u&#39;D.DDD&#39;, u&#39;D&#39;, u&#39;M.MMM&#39;, u&#39;M&#39;, u&#39;S.SSS&#39;],</span>
<span class="go">  [u&#39;Height&#39;,    u&#39;H.HHH&#39;, orthoDef]</span>
<span class="go">  ]</span>
<span class="go">or</span>
<span class="go">  [</span>
<span class="go">  [u&#39;Easting&#39;,  u&#39;M.MMM&#39;,],</span>
<span class="go">  [u&#39;Northing&#39;, u&#39;M.MMM&#39;,],</span>
<span class="go">  [u&#39;Height&#39;,   u&#39;H.HHH&#39;, orthoDef],</span>
<span class="go">  ]</span>
</pre></div>
</div>
</div></blockquote>
<p>requiredIndexes usually is a table like these:</p>
<div class="highlight-python"><div class="highlight"><pre><span class="go">&gt;&gt;&gt;</span>
<span class="go">  (</span>
<span class="go">  (set([1]), set([2, 3]), set([2, 4, 5])),</span>
<span class="go">  (set([1]), set([2, 3]), set([2, 4, 5])),</span>
<span class="go">  (set([1]), set([2])),</span>
<span class="go">  )</span>
<span class="go">or</span>
<span class="go">  (</span>
<span class="go">  (set([1]),),</span>
<span class="go">  (set([1]),),</span>
<span class="go">  (set([1]), set([2])),</span>
<span class="go">  )</span>
</pre></div>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>fieldsTable</strong> (<em>list</em>) &#8211; the table definining the fields to choose from</li>
<li><strong>requiredIndexes</strong> (<em>list</em>) &#8211; the table definining the minimum requirements
of the choice</li>
<li><strong>selectedFields</strong> (<em>list</em>) &#8211; the fields already selected</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.fieldsWizard.FieldSelectionDialog.selectedBtn">
<tt class="descname">selectedBtn</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/fieldsWizard.html#FieldSelectionDialog.selectedBtn"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.fieldsWizard.FieldSelectionDialog.selectedBtn" title="Permalink to this definition">¶</a></dt>
<dd><p>Return checkedButton</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">checkedButton</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">QtGui.QRadioButton</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="ccqw.fieldsWizard.FieldSelectionDialog.staticMetaObject">
<tt class="descname">staticMetaObject</tt><em class="property"> = &lt;PySide.QtCore.QMetaObject object at 0x4b64b00&gt;</em><a class="headerlink" href="#ccqw.fieldsWizard.FieldSelectionDialog.staticMetaObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="ccqw.fieldsWizard.FieldsSelector">
<em class="property">class </em><tt class="descclassname">ccqw.fieldsWizard.</tt><tt class="descname">FieldsSelector</tt><big>(</big><em>*args</em>, <em>**kargs</em><big>)</big><a class="reference internal" href="_modules/ccqw/fieldsWizard.html#FieldsSelector"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.fieldsWizard.FieldsSelector" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">PySide.QtGui.QLabel</span></tt></p>
<p>A QLabel with a column selector wizard</p>
<dl class="method">
<dt id="ccqw.fieldsWizard.FieldsSelector.__init__">
<tt class="descname">__init__</tt><big>(</big><em>*args</em>, <em>**kargs</em><big>)</big><a class="reference internal" href="_modules/ccqw/fieldsWizard.html#FieldsSelector.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.fieldsWizard.FieldsSelector.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new FieldsSelector instance.</p>
<blockquote>
<div><ul class="simple">
<li>The optional args and kargs are fed to the base class constructor.</li>
</ul>
</div></blockquote>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>*args</strong> (<em>various</em>) &#8211; optional arguments</li>
<li><strong>*kargs</strong> (<em>various</em>) &#8211; optional keyword arguments</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.fieldsWizard.FieldsSelector.contextMenuEvent">
<tt class="descname">contextMenuEvent</tt><big>(</big><em>evt</em><big>)</big><a class="reference internal" href="_modules/ccqw/fieldsWizard.html#FieldsSelector.contextMenuEvent"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.fieldsWizard.FieldsSelector.contextMenuEvent" title="Permalink to this definition">¶</a></dt>
<dd><p>Intercept right mouse click to display a field selection dialog</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>evt</strong> (<em>event</em>) &#8211; an event</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="ccqw.fieldsWizard.FieldsSelector.newFieldSignal">
<tt class="descname">newFieldSignal</tt><em class="property"> = &lt;PySide.QtCore.Signal object at 0x4b5ff80&gt;</em><a class="headerlink" href="#ccqw.fieldsWizard.FieldsSelector.newFieldSignal" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.fieldsWizard.FieldsSelector.rangeOverlaps">
<tt class="descname">rangeOverlaps</tt><big>(</big><em>start</em>, <em>end</em><big>)</big><a class="reference internal" href="_modules/ccqw/fieldsWizard.html#FieldsSelector.rangeOverlaps"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.fieldsWizard.FieldsSelector.rangeOverlaps" title="Permalink to this definition">¶</a></dt>
<dd><p>Return True if this range overlaps another range already selected</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>start</strong> (<em>int</em>) &#8211; start of the range</li>
<li><strong>end</strong> (<em>int</em>) &#8211; end of the range</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">True if this range overlaps another range already selected</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first">bool</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.fieldsWizard.FieldsSelector.resetSelection">
<tt class="descname">resetSelection</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/fieldsWizard.html#FieldsSelector.resetSelection"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.fieldsWizard.FieldsSelector.resetSelection" title="Permalink to this definition">¶</a></dt>
<dd><p>Reset selection to an empty dict</p>
</dd></dl>

<dl class="method">
<dt id="ccqw.fieldsWizard.FieldsSelector.selection">
<tt class="descname">selection</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/fieldsWizard.html#FieldsSelector.selection"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.fieldsWizard.FieldsSelector.selection" title="Permalink to this definition">¶</a></dt>
<dd><p>Return defined fields, columns dictionary</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">defined fields, i.e. a columns dictionary</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">dict</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="ccqw.fieldsWizard.FieldsSelector.staticMetaObject">
<tt class="descname">staticMetaObject</tt><em class="property"> = &lt;PySide.QtCore.QMetaObject object at 0x4b64b90&gt;</em><a class="headerlink" href="#ccqw.fieldsWizard.FieldsSelector.staticMetaObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="ccqw.fieldsWizard.FieldsWizard">
<em class="property">class </em><tt class="descclassname">ccqw.fieldsWizard.</tt><tt class="descname">FieldsWizard</tt><big>(</big><em>*args</em>, <em>**kargs</em><big>)</big><a class="reference internal" href="_modules/ccqw/fieldsWizard.html#FieldsWizard"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.fieldsWizard.FieldsWizard" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">PySide.QtGui.QDialog</span></tt></p>
<p>A list driven ASCII file wizard</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Author :</th><td class="field-body"><ul class="first last simple">
<li>20120123 Roberto Vidmar</li>
</ul>
</td>
</tr>
</tbody>
</table>
<p>The wizard permits to choose fields from a field table.</p>
<p>The table is a list of fields where every &#8220;field&#8221; is a list
of &#8220;field name&#8221;, {&#8220;sub field name&#8221;,}</p>
<p>A required indexes list is necessary to specify which sub fields are
necessary to identify the field.</p>
<p>A selectionDoneSignal is emitted when the selection satisfies the
minimum requirements.</p>
<dl class="docutils">
<dt>selectionDoneSignal carries a dictionary with the following items:</dt>
<dd><ul class="first last simple">
<li>pathName: String</li>
<li>header:   A tuple (firstRow, lastRow) defining the (optional) header</li>
<li>names:    A list defining field names</li>
<li>formats:  A list defining field formats</li>
</ul>
</dd>
</dl>
<dl class="attribute">
<dt id="ccqw.fieldsWizard.FieldsWizard.LinesToRead">
<tt class="descname">LinesToRead</tt><em class="property"> = 30</em><a class="headerlink" href="#ccqw.fieldsWizard.FieldsWizard.LinesToRead" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.fieldsWizard.FieldsWizard.__init__">
<tt class="descname">__init__</tt><big>(</big><em>*args</em>, <em>**kargs</em><big>)</big><a class="reference internal" href="_modules/ccqw/fieldsWizard.html#FieldsWizard.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.fieldsWizard.FieldsWizard.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new FieldsWizard instance.</p>
<blockquote>
<div><p>The following keyword arguments are understood:</p>
<blockquote>
<div><ul>
<li><dl class="first docutils">
<dt>pathName: the pathname of the file to read</dt>
<dd><p class="first last">Default is &#8216;&#8217;</p>
</dd>
</dl>
</li>
<li><dl class="first docutils">
<dt>fieldsTable: a table of field names and the subfields</dt>
<dd><p class="first last">Default is []</p>
</dd>
</dl>
</li>
<li><dl class="first docutils">
<dt>requiredIndexes: a table of required indexes</dt>
<dd><p class="first last">Default is []</p>
</dd>
</dl>
</li>
<li><dl class="first docutils">
<dt>longLat: if True or False use default fieldsTable and requiredIndexes.</dt>
<dd><p class="first last">Default is None</p>
</dd>
</dl>
</li>
<li><dl class="first docutils">
<dt>ortho: if not None, orthometric height can be specified.</dt>
<dd><p class="first last">Default is None</p>
</dd>
</dl>
</li>
<li><dl class="first docutils">
<dt>fmtExt: extension for format files</dt>
<dd><p class="first last">Default is &#8216;fmt&#8217;</p>
</dd>
</dl>
</li>
</ul>
</div></blockquote>
</div></blockquote>
<p>Default <cite>fieldsTable</cite> and <cite>requiredIndexes</cite> are:</p>
<div class="highlight-python"><div class="highlight"><pre><span class="go">&gt;&gt;&gt;</span>
<span class="go">longLat:</span>
<span class="go">  self.fieldsTable = [</span>
<span class="go">    [u&#39;Longitude&#39;, u&#39;D.DDD&#39;, u&#39;D&#39;, u&#39;M.MMM&#39;, u&#39;M&#39;, u&#39;S.SSS&#39;],</span>
<span class="go">    [u&#39;Latitude&#39;,  u&#39;D.DDD&#39;, u&#39;D&#39;, u&#39;M.MMM&#39;, u&#39;M&#39;, u&#39;S.SSS&#39;],</span>
<span class="go">    [u&#39;Height&#39;,    u&#39;H.HHH&#39;, orthoDef]</span>
<span class="go">    ]</span>
<span class="go">  self.requiredIndexes = (</span>
<span class="go">    (set([1]), set([2, 3]), set([2, 4, 5])),</span>
<span class="go">    (set([1]), set([2, 3]), set([2, 4, 5])),</span>
<span class="go">    (set([1]), set([2])),</span>
<span class="go">    )</span>
</pre></div>
</div>
<dl class="docutils">
<dt>longLat is not None:</dt>
<dd><dl class="first last docutils">
<dt>self.fieldsTable = [</dt>
<dd>[u&#8217;Easting&#8217;,  u&#8217;M.MMM&#8217;,],
[u&#8217;Northing&#8217;, u&#8217;M.MMM&#8217;,],
[u&#8217;Height&#8217;,   u&#8217;H.HHH&#8217;, orthoDef],
]</dd>
<dt>self.requiredIndexes = (</dt>
<dd>(set([1]),),
(set([1]),),
(set([1]), set([2])),
)</dd>
</dl>
</dd>
</dl>
<p>Where orthoDef = u&#8217;O.OOO&#8217; if Geoid is available (ortho is not None)
else: orthoDef = u&#8217;&#8216;</p>
<blockquote>
<div><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">param *args:</th><td class="field-body">optional arguments</td>
</tr>
<tr class="field-even field"><th class="field-name">type *args:</th><td class="field-body">various</td>
</tr>
<tr class="field-odd field"><th class="field-name">param *kargs:</th><td class="field-body">optional keyword arguments</td>
</tr>
<tr class="field-even field"><th class="field-name">type *kargs:</th><td class="field-body">various</td>
</tr>
<tr class="field-odd field"><th class="field-name">raises:</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</div></blockquote>
</dd></dl>

<dl class="method">
<dt id="ccqw.fieldsWizard.FieldsWizard.data2Degrees">
<tt class="descname">data2Degrees</tt><big>(</big><em>data</em>, <em>names</em><big>)</big><a class="reference internal" href="_modules/ccqw/fieldsWizard.html#FieldsWizard.data2Degrees"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.fieldsWizard.FieldsWizard.data2Degrees" title="Permalink to this definition">¶</a></dt>
<dd><p>Return data converted to degrees</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>data</strong> (<em>numpy array</em>) &#8211; dataset to convert</li>
<li><strong>names</strong> (<em>dict</em>) &#8211; field names</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">data converted to degrees</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first">tuple of numpy arrays</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.fieldsWizard.FieldsWizard.headerSelected">
<tt class="descname">headerSelected</tt><big>(</big><em>selected</em><big>)</big><a class="reference internal" href="_modules/ccqw/fieldsWizard.html#FieldsWizard.headerSelected"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.fieldsWizard.FieldsWizard.headerSelected" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.fieldsWizard.FieldsWizard.selection">
<tt class="descname">selection</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/fieldsWizard.html#FieldsWizard.selection"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.fieldsWizard.FieldsWizard.selection" title="Permalink to this definition">¶</a></dt>
<dd><p>Return current selection dictionaries: names and formats.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">names and formats</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">tuple of dicts</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.fieldsWizard.FieldsWizard.selectionDone">
<tt class="descname">selectionDone</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/fieldsWizard.html#FieldsWizard.selectionDone"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.fieldsWizard.FieldsWizard.selectionDone" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="ccqw.fieldsWizard.FieldsWizard.selectionDoneSignal">
<tt class="descname">selectionDoneSignal</tt><em class="property"> = &lt;PySide.QtCore.Signal object at 0x4b5ffb8&gt;</em><a class="headerlink" href="#ccqw.fieldsWizard.FieldsWizard.selectionDoneSignal" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="ccqw.fieldsWizard.FieldsWizard.staticMetaObject">
<tt class="descname">staticMetaObject</tt><em class="property"> = &lt;PySide.QtCore.QMetaObject object at 0x4b64bd8&gt;</em><a class="headerlink" href="#ccqw.fieldsWizard.FieldsWizard.staticMetaObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.fieldsWizard.FieldsWizard.updateSelection">
<tt class="descname">updateSelection</tt><big>(</big><em>colRange</em><big>)</big><a class="reference internal" href="_modules/ccqw/fieldsWizard.html#FieldsWizard.updateSelection"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.fieldsWizard.FieldsWizard.updateSelection" title="Permalink to this definition">¶</a></dt>
<dd><p>Show underscores below the selected columns for the new field selected</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>colRange</strong> (<em>tuple</em>) &#8211; first column, last column</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="ccqw.fieldsWizard.FileBrowserWidget">
<em class="property">class </em><tt class="descclassname">ccqw.fieldsWizard.</tt><tt class="descname">FileBrowserWidget</tt><big>(</big><em>*args</em>, <em>**kargs</em><big>)</big><a class="reference internal" href="_modules/ccqw/fieldsWizard.html#FileBrowserWidget"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.fieldsWizard.FileBrowserWidget" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">PySide.QtGui.QListWidget</span></tt></p>
<p>A QListWidget with a header selector</p>
<dl class="method">
<dt id="ccqw.fieldsWizard.FileBrowserWidget.__init__">
<tt class="descname">__init__</tt><big>(</big><em>*args</em>, <em>**kargs</em><big>)</big><a class="reference internal" href="_modules/ccqw/fieldsWizard.html#FileBrowserWidget.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.fieldsWizard.FileBrowserWidget.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new FileBrowserWidget instance.</p>
<blockquote>
<div><ul class="simple">
<li>First argument must be the file content, all other arguments
are sent to the constructor of QtGui.QListWidget</li>
</ul>
</div></blockquote>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>*args</strong> (<em>list of strings</em>) &#8211; file content</li>
<li><strong>*kargs</strong> (<em>various</em>) &#8211; optional keyword arguments</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.fieldsWizard.FileBrowserWidget.contextMenuEvent">
<tt class="descname">contextMenuEvent</tt><big>(</big><em>evt</em><big>)</big><a class="reference internal" href="_modules/ccqw/fieldsWizard.html#FileBrowserWidget.contextMenuEvent"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.fieldsWizard.FileBrowserWidget.contextMenuEvent" title="Permalink to this definition">¶</a></dt>
<dd><p>Intercept right mouse click to display a field selection dialog.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>evt</strong> (<em>event</em>) &#8211; an event</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.fieldsWizard.FileBrowserWidget.grayOutHeaderItems">
<tt class="descname">grayOutHeaderItems</tt><big>(</big><em>grayout</em><big>)</big><a class="reference internal" href="_modules/ccqw/fieldsWizard.html#FileBrowserWidget.grayOutHeaderItems"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.fieldsWizard.FileBrowserWidget.grayOutHeaderItems" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="ccqw.fieldsWizard.FileBrowserWidget.lineSelectedSignal">
<tt class="descname">lineSelectedSignal</tt><em class="property"> = &lt;PySide.QtCore.Signal object at 0x4b5ff48&gt;</em><a class="headerlink" href="#ccqw.fieldsWizard.FileBrowserWidget.lineSelectedSignal" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.fieldsWizard.FileBrowserWidget.selectionIsValid">
<tt class="descname">selectionIsValid</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/fieldsWizard.html#FileBrowserWidget.selectionIsValid"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.fieldsWizard.FileBrowserWidget.selectionIsValid" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.fieldsWizard.FileBrowserWidget.setContiguousSelection">
<tt class="descname">setContiguousSelection</tt><big>(</big><em>hasHeader</em><big>)</big><a class="reference internal" href="_modules/ccqw/fieldsWizard.html#FileBrowserWidget.setContiguousSelection"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.fieldsWizard.FileBrowserWidget.setContiguousSelection" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="ccqw.fieldsWizard.FileBrowserWidget.staticMetaObject">
<tt class="descname">staticMetaObject</tt><em class="property"> = &lt;PySide.QtCore.QMetaObject object at 0x4b64b48&gt;</em><a class="headerlink" href="#ccqw.fieldsWizard.FileBrowserWidget.staticMetaObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="function">
<dt id="ccqw.fieldsWizard.countLines">
<tt class="descclassname">ccqw.fieldsWizard.</tt><tt class="descname">countLines</tt><big>(</big><em>pn</em><big>)</big><a class="reference internal" href="_modules/ccqw/fieldsWizard.html#countLines"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.fieldsWizard.countLines" title="Permalink to this definition">¶</a></dt>
<dd><p>Return number of lines in ASCII file pn</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>pn</strong> (<em>unicode or str</em>) &#8211; Pathname of the file</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">the number of lines in the file</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">int</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="ccqw.fieldsWizard.readASCII">
<tt class="descclassname">ccqw.fieldsWizard.</tt><tt class="descname">readASCII</tt><big>(</big><em>pn</em>, <em>names</em>, <em>formats</em>, <em>headerlines=()</em>, <em>removeEmptyLines=False</em>, <em>commentChars=''</em><big>)</big><a class="reference internal" href="_modules/ccqw/fieldsWizard.html#readASCII"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.fieldsWizard.readASCII" title="Permalink to this definition">¶</a></dt>
<dd><p>Return numpy array from ASCII input file pn according to numpy dtype.</p>
<blockquote>
<div><ul class="simple">
<li>Empty lines are removed according to removeEmptyLines flag.</li>
<li>If commentChars is not empty, lines beginning with commentChars will
be removed.</li>
</ul>
<ul class="simple">
<li><strong>No check is made on `names` or `formats`: these MUST be valid to
create a numpy.dtype.</strong></li>
</ul>
</div></blockquote>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>pn</strong> (<em>string, unicode</em>) &#8211; pathname of the file to write</li>
<li><strong>names</strong> (<em>dictionary</em>) &#8211; dictionary of names to create numpy dtype</li>
<li><strong>formats</strong> (<em>dictionary</em>) &#8211; dictionary of formats to create numpy dtype</li>
<li><strong>headerlines</strong> (<em>tuple</em>) &#8211; first and last line of an optional header</li>
<li><strong>removeEmptyLines</strong> (<em>bool</em>) &#8211; if True empty lines will be removed from file
<cite>before</cite> any other processing</li>
<li><strong>commentChars</strong> (<em>string</em>) &#8211; characters to be treated as comments at the
beginning of line</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">numpy array from ASCII input according to numpy dtype
defined by (names, formats)</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first">tuple</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

</div>
<div class="section" id="filebrowser-module">
<h2><tt class="xref py py-mod docutils literal"><span class="pre">fileBrowser</span></tt> Module<a class="headerlink" href="#filebrowser-module" title="Permalink to this headline">¶</a></h2>
<p class="graphviz">
<img src="_images/inheritance-1f6234129f6de16af90bb901b11f31374981418e.png" alt="Inheritance diagram of ccqw.fileBrowser" usemap="#inheritance677f553d25" class="inheritance"/>
<map id="inheritance677f553d25" name="inheritance677f553d25">
<area shape="rect" id="node8" href="#ccqw.fileBrowser.Highlighter" title="ccqw.fileBrowser.Highlighter" alt="" coords="23,238,207,266"/>
<area shape="rect" id="node5" href="#ccqw.fileBrowser.FileBrowser" title="ccqw.fileBrowser.FileBrowser" alt="" coords="232,315,421,343"/>
</map>
</p>
<span class="target" id="module-ccqw.fileBrowser"></span><p>A class to browse a file. If it&#8217;s <strong>NOT</strong> a text file do nothing</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Author:</th><td class="field-body"><ul class="first simple">
<li>20091202-20100321 Nicola Creati</li>
<li>20111202-20120214 Roberto Vidmar</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Revision:</th><td class="field-body"><p class="first">$Revision: 52 $
$Date: 2012-11-12 10:07:15 +0100 (Mon, 12 Nov 2012) $</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Copyright:</th><td class="field-body"><p class="first">2011-2012
Nicola Creati &lt;<a class="reference external" href="mailto:ncreati&#37;&#52;&#48;inogs&#46;it">ncreati<span>&#64;</span>inogs<span>&#46;</span>it</a>&gt;
Roberto Vidmar &lt;<a class="reference external" href="mailto:rvidmar&#37;&#52;&#48;inogs&#46;it">rvidmar<span>&#64;</span>inogs<span>&#46;</span>it</a>&gt;</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">License:</th><td class="field-body"><p class="first last">MIT/X11 License (see <a class="reference download internal" href="_downloads/license.txt"><tt class="xref download docutils literal"><span class="pre">license.txt</span></tt></a>)</p>
</td>
</tr>
</tbody>
</table>
<dl class="function">
<dt id="ccqw.fileBrowser.isText">
<tt class="descclassname">ccqw.fileBrowser.</tt><tt class="descname">isText</tt><big>(</big><em>s</em>, <em>threshold=0.3</em><big>)</big><a class="reference internal" href="_modules/ccqw/fileBrowser.html#isText"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.fileBrowser.isText" title="Permalink to this definition">¶</a></dt>
<dd><p>Return True if s is a Text string.</p>
<blockquote>
<div>If more than 30% non-text characters, then this is considered a binary
string</div></blockquote>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>s</strong> (<em>string</em>) &#8211; string to test</li>
<li><strong>threshold</strong> (<em>float [0, 1], no check</em>) &#8211; threshold to make the decision</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">True if s Dacontains pure Text</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first">bool</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="ccqw.fileBrowser.isTextFile">
<tt class="descclassname">ccqw.fileBrowser.</tt><tt class="descname">isTextFile</tt><big>(</big><em>filename</em>, <em>blocksize=512</em><big>)</big><a class="reference internal" href="_modules/ccqw/fileBrowser.html#isTextFile"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.fileBrowser.isTextFile" title="Permalink to this definition">¶</a></dt>
<dd><p>Return True if filename is a Text file.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>filename</strong> (<em>string</em>) &#8211; pathname</li>
<li><strong>blocksize</strong> (<em>int</em>) &#8211; number of bytes to read to guess the type</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">True if filename is a Text file</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first">bool</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="class">
<dt id="ccqw.fileBrowser.FileBrowser">
<em class="property">class </em><tt class="descclassname">ccqw.fileBrowser.</tt><tt class="descname">FileBrowser</tt><big>(</big><em>parent=None</em>, <em>path=None</em><big>)</big><a class="reference internal" href="_modules/ccqw/fileBrowser.html#FileBrowser"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.fileBrowser.FileBrowser" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">PySide.QtGui.QMainWindow</span></tt></p>
<dl class="method">
<dt id="ccqw.fileBrowser.FileBrowser.__init__">
<tt class="descname">__init__</tt><big>(</big><em>parent=None</em>, <em>path=None</em><big>)</big><a class="reference internal" href="_modules/ccqw/fileBrowser.html#FileBrowser.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.fileBrowser.FileBrowser.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new instance of the FileBrowser.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>parent</strong> (<em>QtGui widget</em>) &#8211; parent widget</li>
<li><strong>path</strong> (<em>string, unicode</em>) &#8211; pathname of the file to browse</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.fileBrowser.FileBrowser.openFile">
<tt class="descname">openFile</tt><big>(</big><em>pn=None</em><big>)</big><a class="reference internal" href="_modules/ccqw/fileBrowser.html#FileBrowser.openFile"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.fileBrowser.FileBrowser.openFile" title="Permalink to this definition">¶</a></dt>
<dd><p>Load pn file content into widget.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>pn</strong> (<em>string or unicode</em>) &#8211; pathname</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="ccqw.fileBrowser.FileBrowser.staticMetaObject">
<tt class="descname">staticMetaObject</tt><em class="property"> = &lt;PySide.QtCore.QMetaObject object at 0x4b4fbd8&gt;</em><a class="headerlink" href="#ccqw.fileBrowser.FileBrowser.staticMetaObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="ccqw.fileBrowser.Highlighter">
<em class="property">class </em><tt class="descclassname">ccqw.fileBrowser.</tt><tt class="descname">Highlighter</tt><big>(</big><em>parent=None</em><big>)</big><a class="reference internal" href="_modules/ccqw/fileBrowser.html#Highlighter"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.fileBrowser.Highlighter" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">PySide.QtGui.QSyntaxHighlighter</span></tt></p>
<dl class="attribute">
<dt id="ccqw.fileBrowser.Highlighter.KEYWORDS">
<tt class="descname">KEYWORDS</tt><em class="property"> = ('description', 'samples', 'lines', 'bands', 'header offset', 'file type', 'data type', 'interleave', 'sensor type', 'byte order', 'map info', 'default bands', 'wavelength units', 'band names', 'fwhm', 'vimg', 'wavelength', 'sensorid', 'radcorr version', 'acquisition date', 'GPS Start Time', 'GPS Stop Time', 'GPS location', 'x start', 'y start', 'fps', 'binning', 'vroi', 'hroi', 'tint', 'himg', 'fodis', 'errors', 'Wavelength')</em><a class="headerlink" href="#ccqw.fileBrowser.Highlighter.KEYWORDS" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.fileBrowser.Highlighter.__init__">
<tt class="descname">__init__</tt><big>(</big><em>parent=None</em><big>)</big><a class="reference internal" href="_modules/ccqw/fileBrowser.html#Highlighter.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.fileBrowser.Highlighter.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new instance of the Highlighter.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>parent</strong> (<em>QtGui widget</em>) &#8211; parent widget</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.fileBrowser.Highlighter.highlightBlock">
<tt class="descname">highlightBlock</tt><big>(</big><em>text</em><big>)</big><a class="reference internal" href="_modules/ccqw/fileBrowser.html#Highlighter.highlightBlock"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.fileBrowser.Highlighter.highlightBlock" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="ccqw.fileBrowser.Highlighter.staticMetaObject">
<tt class="descname">staticMetaObject</tt><em class="property"> = &lt;PySide.QtCore.QMetaObject object at 0x4b4fc20&gt;</em><a class="headerlink" href="#ccqw.fileBrowser.Highlighter.staticMetaObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

</div>
<div class="section" id="filepicker-module">
<h2><tt class="xref py py-mod docutils literal"><span class="pre">filePicker</span></tt> Module<a class="headerlink" href="#filepicker-module" title="Permalink to this headline">¶</a></h2>
<p class="graphviz">
<img src="_images/inheritance-f0874ac328eef125f28d2920887cb27eda5f9f8c.png" alt="Inheritance diagram of ccqw.filePicker" usemap="#inheritancec761134891" class="inheritance"/>
<map id="inheritancec761134891" name="inheritancec761134891">
<area shape="rect" id="node4" href="#ccqw.filePicker.FilePicker" title="ccqw.filePicker.FilePicker" alt="" coords="5,238,176,266"/>
<area shape="rect" id="node15" href="#ccqw.filePicker.FileValidator" title="ccqw.filePicker.FileValidator" alt="" coords="427,238,611,266"/>
<area shape="rect" id="node17" href="#ccqw.filePicker.TinyButton" title="ccqw.filePicker.TinyButton" alt="" coords="215,393,388,421"/>
</map>
</p>
<span class="target" id="module-ccqw.filePicker"></span><p>A class to choose files interactively.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Author:</th><td class="field-body"><ul class="first simple">
<li>20091202-20100321 Nicola Creati</li>
<li>20111202-20120214 Roberto Vidmar</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Revision:</th><td class="field-body"><p class="first">$Revision: 52 $
$Date: 2012-11-12 10:07:15 +0100 (Mon, 12 Nov 2012) $</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Copyright:</th><td class="field-body"><p class="first">2011-2012
Nicola Creati &lt;<a class="reference external" href="mailto:ncreati&#37;&#52;&#48;inogs&#46;it">ncreati<span>&#64;</span>inogs<span>&#46;</span>it</a>&gt;
Roberto Vidmar &lt;<a class="reference external" href="mailto:rvidmar&#37;&#52;&#48;inogs&#46;it">rvidmar<span>&#64;</span>inogs<span>&#46;</span>it</a>&gt;</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">License:</th><td class="field-body"><p class="first last">MIT/X11 License (see <a class="reference download internal" href="_downloads/license.txt"><tt class="xref download docutils literal"><span class="pre">license.txt</span></tt></a>)</p>
</td>
</tr>
</tbody>
</table>
<dl class="class">
<dt id="ccqw.filePicker.TinyButton">
<em class="property">class </em><tt class="descclassname">ccqw.filePicker.</tt><tt class="descname">TinyButton</tt><big>(</big><em>label</em>, <em>parent</em><big>)</big><a class="reference internal" href="_modules/ccqw/filePicker.html#TinyButton"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.filePicker.TinyButton" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">PySide.QtGui.QPushButton</span></tt></p>
<p>A QPushButton with a size fitted to the button label</p>
<dl class="method">
<dt id="ccqw.filePicker.TinyButton.__init__">
<tt class="descname">__init__</tt><big>(</big><em>label</em>, <em>parent</em><big>)</big><a class="reference internal" href="_modules/ccqw/filePicker.html#TinyButton.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.filePicker.TinyButton.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new TinyButton instance.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>label</strong> (<em>string</em>) &#8211; label to put on the tiny button</li>
<li><strong>parent</strong> (<em>QtGui widget</em>) &#8211; parent widget</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="ccqw.filePicker.TinyButton.staticMetaObject">
<tt class="descname">staticMetaObject</tt><em class="property"> = &lt;PySide.QtCore.QMetaObject object at 0x4b4fb48&gt;</em><a class="headerlink" href="#ccqw.filePicker.TinyButton.staticMetaObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="ccqw.filePicker.FileValidator">
<em class="property">class </em><tt class="descclassname">ccqw.filePicker.</tt><tt class="descname">FileValidator</tt><big>(</big><em>parent=None</em><big>)</big><a class="reference internal" href="_modules/ccqw/filePicker.html#FileValidator"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.filePicker.FileValidator" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">PySide.QtGui.QValidator</span></tt></p>
<dl class="method">
<dt id="ccqw.filePicker.FileValidator.__init__">
<tt class="descname">__init__</tt><big>(</big><em>parent=None</em><big>)</big><a class="reference internal" href="_modules/ccqw/filePicker.html#FileValidator.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.filePicker.FileValidator.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new FileValidator instance.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>parent</strong> (<em>QtGui widget</em>) &#8211; parent widget</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.filePicker.FileValidator.validate">
<tt class="descname">validate</tt><big>(</big><em>path</em>, <em>l</em><big>)</big><a class="reference internal" href="_modules/ccqw/filePicker.html#FileValidator.validate"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.filePicker.FileValidator.validate" title="Permalink to this definition">¶</a></dt>
<dd><p>Reimplementation of the validate method.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>path</strong> (<em>string or unicode</em>) &#8211; file path to check</li>
<li><strong>l</strong> (<em>int</em>) &#8211; lenght</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">result, path, l</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first">QtGui.QValidator.Acceptable or QtGui.QValidator.Intermediate,
string or unicode, int</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="ccqw.filePicker.FileValidator.staticMetaObject">
<tt class="descname">staticMetaObject</tt><em class="property"> = &lt;PySide.QtCore.QMetaObject object at 0x4b4fa28&gt;</em><a class="headerlink" href="#ccqw.filePicker.FileValidator.staticMetaObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="ccqw.filePicker.FilePicker">
<em class="property">class </em><tt class="descclassname">ccqw.filePicker.</tt><tt class="descname">FilePicker</tt><big>(</big><em>parent=None</em>, <em>pn=None</em>, <em>filt=u'*'</em>, <em>extension='='</em>, <em>mode=0</em>, <em>home=''</em>, <em>viewer=None</em>, <em>toolTip=None</em><big>)</big><a class="reference internal" href="_modules/ccqw/filePicker.html#FilePicker"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.filePicker.FilePicker" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">PySide.QtGui.QWidget</span></tt></p>
<p>A File picker class</p>
<dl class="attribute">
<dt id="ccqw.filePicker.FilePicker.pathChanged">
<tt class="descname">pathChanged</tt><em class="property"> = &lt;PySide.QtCore.Signal object at 0x4b4d500&gt;</em><a class="headerlink" href="#ccqw.filePicker.FilePicker.pathChanged" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="ccqw.filePicker.FilePicker.InputMode">
<tt class="descname">InputMode</tt><em class="property"> = 0</em><a class="headerlink" href="#ccqw.filePicker.FilePicker.InputMode" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="ccqw.filePicker.FilePicker.OutputMode">
<tt class="descname">OutputMode</tt><em class="property"> = 1</em><a class="headerlink" href="#ccqw.filePicker.FilePicker.OutputMode" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.filePicker.FilePicker.__init__">
<tt class="descname">__init__</tt><big>(</big><em>parent=None</em>, <em>pn=None</em>, <em>filt=u'*'</em>, <em>extension='='</em>, <em>mode=0</em>, <em>home=''</em>, <em>viewer=None</em>, <em>toolTip=None</em><big>)</big><a class="reference internal" href="_modules/ccqw/filePicker.html#FilePicker.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.filePicker.FilePicker.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new FileValidator instance.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>parent</strong> (<em>QtGui widget</em>) &#8211; parent widget</li>
<li><strong>pn</strong> (<em>valid pathname</em>) &#8211; optional pathname</li>
<li><strong>filt</strong> (<em>string</em>) &#8211; file extension filter</li>
<li><strong>extension</strong> (<em>string</em>) &#8211; extension to use for the viewer (default is full
pathname). <em>Valid only if viewer is defined.</em></li>
<li><strong>mode</strong> (<em>int</em>) &#8211; either <a class="reference internal" href="#ccqw.filePicker.FilePicker.InputMode" title="ccqw.filePicker.FilePicker.InputMode"><tt class="xref py py-class docutils literal"><span class="pre">InputMode</span></tt></a> or :class`OutputMode`</li>
<li><strong>home</strong> (<em>string or unicode</em>) &#8211; open picker in this directory</li>
<li><strong>viewer</strong> (<em>class</em>) &#8211; an optional file viewer class whose init accepts parent
and path keyword arguments</li>
<li><strong>toolTip</strong> (<em>string</em>) &#8211; An optional toolTip</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.filePicker.FilePicker.setMode">
<tt class="descname">setMode</tt><big>(</big><em>mode</em>, <em>toolTip=''</em>, <em>caption=None</em><big>)</big><a class="reference internal" href="_modules/ccqw/filePicker.html#FilePicker.setMode"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.filePicker.FilePicker.setMode" title="Permalink to this definition">¶</a></dt>
<dd><p>Set Widget mode: either <a class="reference internal" href="#ccqw.filePicker.FilePicker.InputMode" title="ccqw.filePicker.FilePicker.InputMode"><tt class="xref py py-class docutils literal"><span class="pre">InputMode</span></tt></a> or <a class="reference internal" href="#ccqw.filePicker.FilePicker.OutputMode" title="ccqw.filePicker.FilePicker.OutputMode"><tt class="xref py py-class docutils literal"><span class="pre">OutputMode</span></tt></a>
A caption of None defaults to <cite>mode</cite></p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>mode</strong> (<em>int</em>) &#8211; either <a class="reference internal" href="#ccqw.filePicker.FilePicker.InputMode" title="ccqw.filePicker.FilePicker.InputMode"><tt class="xref py py-class docutils literal"><span class="pre">InputMode</span></tt></a> or <a class="reference internal" href="#ccqw.filePicker.FilePicker.OutputMode" title="ccqw.filePicker.FilePicker.OutputMode"><tt class="xref py py-class docutils literal"><span class="pre">OutputMode</span></tt></a></li>
<li><strong>toolTip</strong> (<em>string</em>) &#8211; An optional toolTip</li>
<li><strong>caption</strong> (<em>string or unicode</em>) &#8211; optional caption</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.filePicker.FilePicker.dragEnterEvent">
<tt class="descname">dragEnterEvent</tt><big>(</big><em>evt</em><big>)</big><a class="reference internal" href="_modules/ccqw/filePicker.html#FilePicker.dragEnterEvent"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.filePicker.FilePicker.dragEnterEvent" title="Permalink to this definition">¶</a></dt>
<dd><p>Reimplemented to tell the drag and drop system that we can only
handle plain text</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>evt</strong> (<em>QtCore.QEvent</em>) &#8211; event</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.filePicker.FilePicker.dropEvent">
<tt class="descname">dropEvent</tt><big>(</big><em>evt</em><big>)</big><a class="reference internal" href="_modules/ccqw/filePicker.html#FilePicker.dropEvent"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.filePicker.FilePicker.dropEvent" title="Permalink to this definition">¶</a></dt>
<dd><p>Reimplemented to copy the first dropped url into the editor</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>evt</strong> (<em>QtCore.QEvent</em>) &#8211; event</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.filePicker.FilePicker.text">
<tt class="descname">text</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/filePicker.html#FilePicker.text"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.filePicker.FilePicker.text" title="Permalink to this definition">¶</a></dt>
<dd><p>Return text content</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">text content</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">unicode</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.filePicker.FilePicker.fileSelected">
<tt class="descname">fileSelected</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/filePicker.html#FilePicker.fileSelected"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.filePicker.FilePicker.fileSelected" title="Permalink to this definition">¶</a></dt>
<dd><p>File has been selected: emit the Signal</p>
</dd></dl>

<dl class="attribute">
<dt id="ccqw.filePicker.FilePicker.staticMetaObject">
<tt class="descname">staticMetaObject</tt><em class="property"> = &lt;PySide.QtCore.QMetaObject object at 0x4b4fab8&gt;</em><a class="headerlink" href="#ccqw.filePicker.FilePicker.staticMetaObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

</div>
<div class="section" id="geodesy-module">
<h2><tt class="xref py py-mod docutils literal"><span class="pre">geodesy</span></tt> Module<a class="headerlink" href="#geodesy-module" title="Permalink to this headline">¶</a></h2>
<p class="graphviz">
<img src="_images/inheritance-086d35312f65a9bdb9c84978e3139eabac77b001.png" alt="Inheritance diagram of ccqw.geodesy" usemap="#inheritance82440f97f9" class="inheritance"/>
<map id="inheritance82440f97f9" name="inheritance82440f97f9">
<area shape="rect" id="node1" href="#ccqw.geodesy.Geoid" title="ccqw.geodesy.Geoid" alt="" coords="5,6,147,34"/>
<area shape="rect" id="node2" href="#ccqw.geodesy.DatumShift" title="ccqw.geodesy.DatumShift" alt="" coords="321,6,492,34"/>
</map>
</p>
<span class="target" id="module-ccqw.geodesy"></span><p>A module to handle Geoids and Datum shifts.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Author:</th><td class="field-body">2009-2011 Roberto Vidmar</td>
</tr>
<tr class="field-even field"><th class="field-name">Copyright:</th><td class="field-body">2011-2012
Nicola Creati &lt;<a class="reference external" href="mailto:ncreati&#37;&#52;&#48;inogs&#46;it">ncreati<span>&#64;</span>inogs<span>&#46;</span>it</a>&gt;
Roberto Vidmar &lt;<a class="reference external" href="mailto:rvidmar&#37;&#52;&#48;inogs&#46;it">rvidmar<span>&#64;</span>inogs<span>&#46;</span>it</a>&gt;</td>
</tr>
<tr class="field-odd field"><th class="field-name">License:</th><td class="field-body">MIT/X11 License (see <a class="reference download internal" href="_downloads/license.txt"><tt class="xref download docutils literal"><span class="pre">license.txt</span></tt></a>)</td>
</tr>
</tbody>
</table>
<dl class="class">
<dt id="ccqw.geodesy.DatumShift">
<em class="property">class </em><tt class="descclassname">ccqw.geodesy.</tt><tt class="descname">DatumShift</tt><big>(</big><em>fn</em><big>)</big><a class="reference internal" href="_modules/ccqw/geodesy.html#DatumShift"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.geodesy.DatumShift" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></p>
<p>A DatumShift correction class, contains the DatumShift matrix.</p>
<dl class="method">
<dt id="ccqw.geodesy.DatumShift.__init__">
<tt class="descname">__init__</tt><big>(</big><em>fn</em><big>)</big><a class="reference internal" href="_modules/ccqw/geodesy.html#DatumShift.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.geodesy.DatumShift.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Load [delta lambda, delta phi] matrix into an array structure.</p>
<blockquote>
<div><p>File must be binary with the following structure:</p>
<ul class="simple">
<li>2 long integers: cols, rows</li>
<li>4 doubles: xmin, xmax, ymin, ymax (degrees, WGS84)</li>
<li>(cols * rows) doubles: longitude data</li>
<li>(cols * rows) doubles: latitude data</li>
</ul>
</div></blockquote>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>fn</strong> (<em>string</em>) &#8211; pathname of file to load</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.geodesy.DatumShift.__repr__">
<tt class="descname">__repr__</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/geodesy.html#DatumShift.__repr__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.geodesy.DatumShift.__repr__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.geodesy.DatumShift.datumShift">
<tt class="descname">datumShift</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/geodesy.html#DatumShift.datumShift"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.geodesy.DatumShift.datumShift" title="Permalink to this definition">¶</a></dt>
<dd><p>Return datum shift matrix</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">datumShiftLon, datumShiftLat matrices</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">tuple</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.geodesy.DatumShift.getLLCorrection">
<tt class="descname">getLLCorrection</tt><big>(</big><em>xyzWGS84</em>, <em>method='interp2d'</em><big>)</big><a class="reference internal" href="_modules/ccqw/geodesy.html#DatumShift.getLLCorrection"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.geodesy.DatumShift.getLLCorrection" title="Permalink to this definition">¶</a></dt>
<dd><p>Return Delta Lon/Lat correction in degrees for xyzWGS84 dataset.</p>
<blockquote>
<div><p>Dataset must be Lon/Lat/Z in degrees WGS84.
Return None if at least one point is outside region</p>
<dl class="docutils">
<dt>Available methods:</dt>
<dd><ul class="first last simple">
<li>interp2d (default)</li>
<li>thiessen (faster, no interpolation)</li>
</ul>
</dd>
</dl>
</div></blockquote>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>xyzWGS84</strong> &#8211; xyz dataset (degrees WGS84)</li>
<li><strong>method</strong> (<em>string</em>) &#8211; interpolation method (optional)</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">loncorrection, latcorrection matices</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first">tuple</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="ccqw.geodesy.Geoid">
<em class="property">class </em><tt class="descclassname">ccqw.geodesy.</tt><tt class="descname">Geoid</tt><big>(</big><em>fn</em>, <em>gtx=False</em><big>)</big><a class="reference internal" href="_modules/ccqw/geodesy.html#Geoid"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.geodesy.Geoid" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></p>
<p>Geoid correction class, contains the geoid matrix.</p>
<dl class="method">
<dt id="ccqw.geodesy.Geoid.__init__">
<tt class="descname">__init__</tt><big>(</big><em>fn</em>, <em>gtx=False</em><big>)</big><a class="reference internal" href="_modules/ccqw/geodesy.html#Geoid.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.geodesy.Geoid.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Load Geoid file into an array structure.</p>
<blockquote>
<div><ul class="simple">
<li>gtx == False (default)
File must be binary with the following structure:
2 long integers: cols, rows
4 doubles: xmin, xmax, ymin, ymax (degrees, WGS84)
(cols * rows) doubles: geoid data</li>
<li>gtx == True
File must be binary with the following structure:
2 long integers: cols, rows
4 doubles: xmin, xmax, ymin, ymax (degrees, WGS84)
(cols * rows) doubles: geoid data</li>
</ul>
</div></blockquote>
<p>For GTX format: <a class="reference external" href="http://vdatum.noaa.gov/dev/gtx_info.html#dev_gtx_binary">http://vdatum.noaa.gov/dev/gtx_info.html#dev_gtx_binary</a></p>
<div class="admonition warning">
<p class="first admonition-title">Warning</p>
<p class="last">GTX format is <strong>NOT</strong> tested yet</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>fn</strong> (<em>string</em>) &#8211; pathname of file to load</li>
<li><strong>gtx</strong> (<em>bool</em>) &#8211; file has gtx format (default is False)</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.geodesy.Geoid.__repr__">
<tt class="descname">__repr__</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/geodesy.html#Geoid.__repr__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.geodesy.Geoid.__repr__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.geodesy.Geoid.geoid">
<tt class="descname">geoid</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/geodesy.html#Geoid.geoid"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.geodesy.Geoid.geoid" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the geoid matrix</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">the geoid matrix</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">numpy array</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.geodesy.Geoid.getCorrection">
<tt class="descname">getCorrection</tt><big>(</big><em>xyzWGS84</em>, <em>method='interp2d'</em><big>)</big><a class="reference internal" href="_modules/ccqw/geodesy.html#Geoid.getCorrection"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.geodesy.Geoid.getCorrection" title="Permalink to this definition">¶</a></dt>
<dd><p>Return Geoid correction for xyzWGS84 dataset.</p>
<blockquote>
<div><p>Dataset must be Lon/Lat/Z in degrees WGS84.
Correction must be <strong>ADDED</strong> to ellipsoidical height to get
geoidical height.
Return None if at least one point is outside region</p>
<dl class="docutils">
<dt>Available methods:</dt>
<dd><ul class="first last simple">
<li>interp2d (default)</li>
<li>thiessen (faster, no interpolation)</li>
</ul>
</dd>
</dl>
</div></blockquote>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>xyzWGS84</strong> &#8211; xyz dataset (degrees WGS84)</li>
<li><strong>method</strong> (<em>string</em>) &#8211; interpolation method (optional)</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">geoidcorrection matrix</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first">numpy array</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="heightwidget-module">
<h2><tt class="xref py py-mod docutils literal"><span class="pre">heightWidget</span></tt> Module<a class="headerlink" href="#heightwidget-module" title="Permalink to this headline">¶</a></h2>
<p class="graphviz">
<img src="_images/inheritance-b9cd35a75b04108d903cc8a05789a680a106087b.png" alt="Inheritance diagram of ccqw.heightWidget" usemap="#inheritance57bb645704" class="inheritance"/>
<map id="inheritance57bb645704" name="inheritance57bb645704">
<area shape="rect" id="node9" href="#ccqw.heightWidget.HeightWidget" title="ccqw.heightWidget.HeightWidget" alt="" coords="5,238,219,266"/>
</map>
</p>
<span class="target" id="module-ccqw.heightWidget"></span><p>A Height Widget that handles Ellipsoidical and Orthometric heights</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Author:</th><td class="field-body"><ul class="first simple">
<li>20111202-20120110 Roberto Vidmar</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Revision:</th><td class="field-body"><p class="first">$Revision: 52 $
$Date: 2012-11-12 10:07:15 +0100 (Mon, 12 Nov 2012) $</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Copyright:</th><td class="field-body"><p class="first">2011-2012
Nicola Creati &lt;<a class="reference external" href="mailto:ncreati&#37;&#52;&#48;inogs&#46;it">ncreati<span>&#64;</span>inogs<span>&#46;</span>it</a>&gt;
Roberto Vidmar &lt;<a class="reference external" href="mailto:rvidmar&#37;&#52;&#48;inogs&#46;it">rvidmar<span>&#64;</span>inogs<span>&#46;</span>it</a>&gt;</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">License:</th><td class="field-body"><p class="first last">MIT/X11 License (see <a class="reference download internal" href="_downloads/license.txt"><tt class="xref download docutils literal"><span class="pre">license.txt</span></tt></a>)</p>
</td>
</tr>
</tbody>
</table>
<dl class="class">
<dt id="ccqw.heightWidget.HeightWidget">
<em class="property">class </em><tt class="descclassname">ccqw.heightWidget.</tt><tt class="descname">HeightWidget</tt><big>(</big><em>*args</em>, <em>**kargs</em><big>)</big><a class="reference internal" href="_modules/ccqw/heightWidget.html#HeightWidget"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.heightWidget.HeightWidget" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">PySide.QtGui.QWidget</span></tt></p>
<p>A Height Widget that handles Ellipsoidical and Geoidical heights.</p>
<dl class="attribute">
<dt id="ccqw.heightWidget.HeightWidget.textEditedSignal">
<tt class="descname">textEditedSignal</tt><em class="property"> = &lt;PySide.QtCore.Signal object at 0x4b4d180&gt;</em><a class="headerlink" href="#ccqw.heightWidget.HeightWidget.textEditedSignal" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="ccqw.heightWidget.HeightWidget.ELL">
<tt class="descname">ELL</tt><em class="property"> = 0</em><a class="headerlink" href="#ccqw.heightWidget.HeightWidget.ELL" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="ccqw.heightWidget.HeightWidget.ORTHO">
<tt class="descname">ORTHO</tt><em class="property"> = 1</em><a class="headerlink" href="#ccqw.heightWidget.HeightWidget.ORTHO" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.heightWidget.HeightWidget.__init__">
<tt class="descname">__init__</tt><big>(</big><em>*args</em>, <em>**kargs</em><big>)</big><a class="reference internal" href="_modules/ccqw/heightWidget.html#HeightWidget.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.heightWidget.HeightWidget.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new instance of the widget.</p>
<p>The first argument, if present, is the value to assign.</p>
<p>The following keyword arguments are understood:</p>
<ul>
<li><dl class="first docutils">
<dt>hchr <span class="classifier-delimiter">:</span> <span class="classifier">height description strings</span></dt>
<dd><p class="first last">Default is (u&#8221;ell&#8221;, u&#8221;ortho&#8221;)</p>
</dd>
</dl>
</li>
<li><dl class="first docutils">
<dt>invalid <span class="classifier-delimiter">:</span> <span class="classifier">this is the value that we consider <strong>INVALID</strong></span></dt>
<dd><p class="first last">Default is -9999.99</p>
</dd>
</dl>
</li>
<li><dl class="first docutils">
<dt>ell2Ortho <span class="classifier-delimiter">:</span> <span class="classifier">float to add to ellipsoidical height to get orthometric</span></dt>
<dd><p class="first last">height. Default is None (<strong>NO ORTHOMETRIC HEIGHT</strong>)</p>
</dd>
</dl>
</li>
<li><dl class="first docutils">
<dt>decimals <span class="classifier-delimiter">:</span> <span class="classifier">number of decmals for the representation</span></dt>
<dd><p class="first last">Default is 3</p>
</dd>
</dl>
</li>
<li><dl class="first docutils">
<dt>heightLen <span class="classifier-delimiter">:</span> <span class="classifier">number of figures in height (<cite>unused?</cite>)</span></dt>
<dd><p class="first last">Default is 4</p>
</dd>
</dl>
</li>
<li><dl class="first docutils">
<dt>rep <span class="classifier-delimiter">:</span> <span class="classifier">representation to show after creation.</span></dt>
<dd><p class="first last">Default is <a class="reference internal" href="#ccqw.heightWidget.HeightWidget.ELL" title="ccqw.heightWidget.HeightWidget.ELL"><tt class="xref py py-class docutils literal"><span class="pre">ELL</span></tt></a></p>
</dd>
</dl>
</li>
<li><dl class="first docutils">
<dt>align <span class="classifier-delimiter">:</span> <span class="classifier">alignment of the widget.</span></dt>
<dd><p class="first last">Default is Qt.AlignRight</p>
</dd>
</dl>
</li>
<li><dl class="first docutils">
<dt>readonly <span class="classifier-delimiter">:</span> <span class="classifier">read only attribute.</span></dt>
<dd><p class="first last">Default is False</p>
</dd>
</dl>
</li>
</ul>
</dd></dl>

<dl class="method">
<dt id="ccqw.heightWidget.HeightWidget.textEdited">
<tt class="descname">textEdited</tt><big>(</big><em>text</em><big>)</big><a class="reference internal" href="_modules/ccqw/heightWidget.html#HeightWidget.textEdited"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.heightWidget.HeightWidget.textEdited" title="Permalink to this definition">¶</a></dt>
<dd><p>Update all widgets except the one that sent the signal</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>text</strong> (<em>string</em>) &#8211; the content of the editor widget</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.heightWidget.HeightWidget.rep">
<tt class="descname">rep</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/heightWidget.html#HeightWidget.rep"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.heightWidget.HeightWidget.rep" title="Permalink to this definition">¶</a></dt>
<dd><p>Return current representation:</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">widget current representation</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">any of <a class="reference internal" href="#ccqw.heightWidget.HeightWidget.ELL" title="ccqw.heightWidget.HeightWidget.ELL"><tt class="xref py py-class docutils literal"><span class="pre">ELL</span></tt></a>, <a class="reference internal" href="#ccqw.heightWidget.HeightWidget.ORTHO" title="ccqw.heightWidget.HeightWidget.ORTHO"><tt class="xref py py-class docutils literal"><span class="pre">ORTHO</span></tt></a></td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.heightWidget.HeightWidget.setRep">
<tt class="descname">setRep</tt><big>(</big><em>rep=0</em><big>)</big><a class="reference internal" href="_modules/ccqw/heightWidget.html#HeightWidget.setRep"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.heightWidget.HeightWidget.setRep" title="Permalink to this definition">¶</a></dt>
<dd><p>Set widget aspect (representation) according to rep:</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>rep</strong> (any of <a class="reference internal" href="#ccqw.heightWidget.HeightWidget.ELL" title="ccqw.heightWidget.HeightWidget.ELL"><tt class="xref py py-class docutils literal"><span class="pre">ELL</span></tt></a>, <a class="reference internal" href="#ccqw.heightWidget.HeightWidget.ORTHO" title="ccqw.heightWidget.HeightWidget.ORTHO"><tt class="xref py py-class docutils literal"><span class="pre">ORTHO</span></tt></a>) &#8211; new representation</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.heightWidget.HeightWidget.ellH">
<tt class="descname">ellH</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/heightWidget.html#HeightWidget.ellH"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.heightWidget.HeightWidget.ellH" title="Permalink to this definition">¶</a></dt>
<dd><p>Return ellipsoidical height</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">ellipsoidical height</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">float</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.heightWidget.HeightWidget.orthoH">
<tt class="descname">orthoH</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/heightWidget.html#HeightWidget.orthoH"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.heightWidget.HeightWidget.orthoH" title="Permalink to this definition">¶</a></dt>
<dd><p>Return orthometric height</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">orthometric height or None</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">float or None</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="ccqw.heightWidget.HeightWidget.staticMetaObject">
<tt class="descname">staticMetaObject</tt><em class="property"> = &lt;PySide.QtCore.QMetaObject object at 0x4b4f248&gt;</em><a class="headerlink" href="#ccqw.heightWidget.HeightWidget.staticMetaObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.heightWidget.HeightWidget.ell2Ortho">
<tt class="descname">ell2Ortho</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/heightWidget.html#HeightWidget.ell2Ortho"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.heightWidget.HeightWidget.ell2Ortho" title="Permalink to this definition">¶</a></dt>
<dd><p>Return ellipsoidical to orthometric height difference</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">ellipsoidical to orthometric height difference</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">float</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.heightWidget.HeightWidget.setEll2Ortho">
<tt class="descname">setEll2Ortho</tt><big>(</big><em>ell2Ortho</em><big>)</big><a class="reference internal" href="_modules/ccqw/heightWidget.html#HeightWidget.setEll2Ortho"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.heightWidget.HeightWidget.setEll2Ortho" title="Permalink to this definition">¶</a></dt>
<dd><p>Set ellipsoidical to orthometric height (geoid) difference</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>ell2Ortho</strong> (<em>float</em>) &#8211; ellipsoidical to orthometric height difference</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.heightWidget.HeightWidget.setEllH">
<tt class="descname">setEllH</tt><big>(</big><em>ellh</em><big>)</big><a class="reference internal" href="_modules/ccqw/heightWidget.html#HeightWidget.setEllH"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.heightWidget.HeightWidget.setEllH" title="Permalink to this definition">¶</a></dt>
<dd><p>Set ellipsoidical height in meters</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>ellh</strong> &#8211; ellipsoidical height</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="module-ccqw.interp">
<span id="interp-module"></span><h2><tt class="xref py py-mod docutils literal"><span class="pre">interp</span></tt> Module<a class="headerlink" href="#module-ccqw.interp" title="Permalink to this headline">¶</a></h2>
<p>Our interpolation functions</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Authors:</th><td class="field-body"><ul class="first simple">
<li>20081016 Nicola Creati</li>
<li>20081016 Roberto Vidmar</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Revision:</th><td class="field-body"><p class="first">$Revision: 52 $</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Copyright:</th><td class="field-body"><p class="first">2011-2012
Nicola Creati &lt;<a class="reference external" href="mailto:ncreati&#37;&#52;&#48;inogs&#46;it">ncreati<span>&#64;</span>inogs<span>&#46;</span>it</a>&gt;
Roberto Vidmar &lt;<a class="reference external" href="mailto:rvidmar&#37;&#52;&#48;inogs&#46;it">rvidmar<span>&#64;</span>inogs<span>&#46;</span>it</a>&gt;</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">License:</th><td class="field-body"><p class="first last">MIT/X11 License (see <a class="reference download internal" href="_downloads/license.txt"><tt class="xref download docutils literal"><span class="pre">license.txt</span></tt></a>)</p>
</td>
</tr>
</tbody>
</table>
<dl class="function">
<dt id="ccqw.interp.interp2d">
<tt class="descclassname">ccqw.interp.</tt><tt class="descname">interp2d</tt><big>(</big><em>z</em>, <em>ext</em>, <em>xy</em><big>)</big><a class="reference internal" href="_modules/ccqw/interp.html#interp2d"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.interp.interp2d" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a new 2d matrix of linear inetrpolated values at xy[i, j].</p>
<p>z is a 2d array of values at evenly spaced values in
ext = ((xmin, xmax), (ymin, ymax))</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>z</strong> (<em>numpy array</em>) &#8211; 2d array of evenly spaced values</li>
<li><strong>ext</strong> (<em>tuple</em>) &#8211; ((xmin, xmax), (ymin, ymax))</li>
<li><strong>xy</strong> (<em>numpy array</em>) &#8211; 2d matrix</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">new 2d matrix of linear inetrpolated values at xy[i, j]</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first">numpy array</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
<div class="admonition warning">
<p class="first admonition-title">Warning</p>
<p class="last">All xy points must fit into ext rectangle.
<strong>NO CHECK IS MADE!</strong></p>
</div>
</dd></dl>

</div>
<div class="section" id="module-ccqw.make_rc">
<span id="make-rc-module"></span><h2><tt class="xref py py-mod docutils literal"><span class="pre">make_rc</span></tt> Module<a class="headerlink" href="#module-ccqw.make_rc" title="Permalink to this headline">¶</a></h2>
<p>A module to convert all image files in a directory into a resource file
for later compilation with pyrcc4</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Author:</th><td class="field-body">2009-2011 Nicola Creati</td>
</tr>
<tr class="field-even field"><th class="field-name">Copyright:</th><td class="field-body">2011-2012
Nicola Creati &lt;<a class="reference external" href="mailto:ncreati&#37;&#52;&#48;inogs&#46;it">ncreati<span>&#64;</span>inogs<span>&#46;</span>it</a>&gt;
Roberto Vidmar &lt;<a class="reference external" href="mailto:rvidmar&#37;&#52;&#48;inogs&#46;it">rvidmar<span>&#64;</span>inogs<span>&#46;</span>it</a>&gt;</td>
</tr>
<tr class="field-odd field"><th class="field-name">License:</th><td class="field-body">MIT/X11 License (see <a class="reference download internal" href="_downloads/license.txt"><tt class="xref download docutils literal"><span class="pre">license.txt</span></tt></a>)</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="progressdialog-module">
<h2><tt class="xref py py-mod docutils literal"><span class="pre">progressDialog</span></tt> Module<a class="headerlink" href="#progressdialog-module" title="Permalink to this headline">¶</a></h2>
<p class="graphviz">
<img src="_images/inheritance-a817b9f7c92aaa36ac91721c1b2e757ec43fe738.png" alt="Inheritance diagram of ccqw.progressDialog" usemap="#inheritancedeec54e339" class="inheritance"/>
<map id="inheritancedeec54e339" name="inheritancedeec54e339">
<area shape="rect" id="node4" href="#ccqw.progressDialog.ThreadedFunc" title="ccqw.progressDialog.ThreadedFunc" alt="" coords="5,238,232,266"/>
<area shape="rect" id="node15" href="#ccqw.progressDialog.ProgressDialog" title="ccqw.progressDialog.ProgressDialog" alt="" coords="215,315,449,343"/>
</map>
</p>
<span class="target" id="module-ccqw.progressDialog"></span><p>A Progress Dialog module</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Author:</th><td class="field-body"><ul class="first simple">
<li>20111202-20120110 Roberto Vidmar</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Revision:</th><td class="field-body"><p class="first">$Revision: 52 $
$Date: 2012-11-12 10:07:15 +0100 (Mon, 12 Nov 2012) $</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Copyright:</th><td class="field-body"><p class="first">2011-2012
Nicola Creati &lt;<a class="reference external" href="mailto:ncreati&#37;&#52;&#48;inogs&#46;it">ncreati<span>&#64;</span>inogs<span>&#46;</span>it</a>&gt;
Roberto Vidmar &lt;<a class="reference external" href="mailto:rvidmar&#37;&#52;&#48;inogs&#46;it">rvidmar<span>&#64;</span>inogs<span>&#46;</span>it</a>&gt;</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">License:</th><td class="field-body"><p class="first last">MIT/X11 License (see <a class="reference download internal" href="_downloads/license.txt"><tt class="xref download docutils literal"><span class="pre">license.txt</span></tt></a>)</p>
</td>
</tr>
</tbody>
</table>
<dl class="class">
<dt id="ccqw.progressDialog.ProgressDialog">
<em class="property">class </em><tt class="descclassname">ccqw.progressDialog.</tt><tt class="descname">ProgressDialog</tt><big>(</big><em>tf</em>, <em>parent=None</em>, <em>title='Processor Progress Dialog'</em>, <em>msg='The Message.'</em>, <em>value=0</em><big>)</big><a class="reference internal" href="_modules/ccqw/progressDialog.html#ProgressDialog"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.progressDialog.ProgressDialog" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">PySide.QtGui.QDialog</span></tt></p>
<p>Processing gui with progress bar and message</p>
<dl class="attribute">
<dt id="ccqw.progressDialog.ProgressDialog.abortSignal">
<tt class="descname">abortSignal</tt><em class="property"> = &lt;PySide.QtCore.Signal object at 0x4b73228&gt;</em><a class="headerlink" href="#ccqw.progressDialog.ProgressDialog.abortSignal" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.progressDialog.ProgressDialog.__init__">
<tt class="descname">__init__</tt><big>(</big><em>tf</em>, <em>parent=None</em>, <em>title='Processor Progress Dialog'</em>, <em>msg='The Message.'</em>, <em>value=0</em><big>)</big><a class="reference internal" href="_modules/ccqw/progressDialog.html#ProgressDialog.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.progressDialog.ProgressDialog.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new ProgressDialog instance.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>tf</strong> (<a class="reference internal" href="#ccqw.progressDialog.ThreadedFunc" title="ccqw.progressDialog.ThreadedFunc"><tt class="xref py py-class docutils literal"><span class="pre">ThreadedFunc</span></tt></a>) &#8211; a <a class="reference internal" href="#ccqw.progressDialog.ThreadedFunc" title="ccqw.progressDialog.ThreadedFunc"><tt class="xref py py-class docutils literal"><span class="pre">ThreadedFunc</span></tt></a> instance</li>
<li><strong>parent</strong> (<em>QtGui widget</em>) &#8211; parent widget</li>
<li><strong>title</strong> (<em>string, unicode</em>) &#8211; title for the progress dialog</li>
<li><strong>msg</strong> (<em>string, unicode</em>) &#8211; progress message</li>
<li><strong>value</strong> (<em>int</em>) &#8211; initial value</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.progressDialog.ProgressDialog.showMessage">
<tt class="descname">showMessage</tt><big>(</big><em>flag=True</em><big>)</big><a class="reference internal" href="_modules/ccqw/progressDialog.html#ProgressDialog.showMessage"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.progressDialog.ProgressDialog.showMessage" title="Permalink to this definition">¶</a></dt>
<dd><p>Show/Hide message</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>flag</strong> (<em>bool</em>) &#8211; Show/Hide message</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.progressDialog.ProgressDialog.progress">
<tt class="descname">progress</tt><big>(</big><em>value</em><big>)</big><a class="reference internal" href="_modules/ccqw/progressDialog.html#ProgressDialog.progress"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.progressDialog.ProgressDialog.progress" title="Permalink to this definition">¶</a></dt>
<dd><p>Update progress bar</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>value</strong> (<em>int [0, 100]</em>) &#8211; progress value</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.progressDialog.ProgressDialog.setMessage">
<tt class="descname">setMessage</tt><big>(</big><em>msg</em><big>)</big><a class="reference internal" href="_modules/ccqw/progressDialog.html#ProgressDialog.setMessage"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.progressDialog.ProgressDialog.setMessage" title="Permalink to this definition">¶</a></dt>
<dd><p>Set text message</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>msg</strong> (<em>string, unicode</em>) &#8211; text message</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.progressDialog.ProgressDialog.onClose">
<tt class="descname">onClose</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/progressDialog.html#ProgressDialog.onClose"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.progressDialog.ProgressDialog.onClose" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="ccqw.progressDialog.ProgressDialog.staticMetaObject">
<tt class="descname">staticMetaObject</tt><em class="property"> = &lt;PySide.QtCore.QMetaObject object at 0x4b75098&gt;</em><a class="headerlink" href="#ccqw.progressDialog.ProgressDialog.staticMetaObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="ccqw.progressDialog.ThreadedFunc">
<em class="property">class </em><tt class="descclassname">ccqw.progressDialog.</tt><tt class="descname">ThreadedFunc</tt><big>(</big><em>func</em>, <em>*args</em>, <em>**kargs</em><big>)</big><a class="reference internal" href="_modules/ccqw/progressDialog.html#ThreadedFunc"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.progressDialog.ThreadedFunc" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">PySide.QtCore.QThread</span></tt></p>
<p>A class to run a function inside a Thread.</p>
<dl class="attribute">
<dt id="ccqw.progressDialog.ThreadedFunc.progressSignal">
<tt class="descname">progressSignal</tt><em class="property"> = &lt;PySide.QtCore.Signal object at 0x4b73298&gt;</em><a class="headerlink" href="#ccqw.progressDialog.ThreadedFunc.progressSignal" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="ccqw.progressDialog.ThreadedFunc.endedSignal">
<tt class="descname">endedSignal</tt><em class="property"> = &lt;PySide.QtCore.Signal object at 0x4b732d0&gt;</em><a class="headerlink" href="#ccqw.progressDialog.ThreadedFunc.endedSignal" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="ccqw.progressDialog.ThreadedFunc.closeSignal">
<tt class="descname">closeSignal</tt><em class="property"> = &lt;PySide.QtCore.Signal object at 0x4b73308&gt;</em><a class="headerlink" href="#ccqw.progressDialog.ThreadedFunc.closeSignal" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.progressDialog.ThreadedFunc.__init__">
<tt class="descname">__init__</tt><big>(</big><em>func</em>, <em>*args</em>, <em>**kargs</em><big>)</big><a class="reference internal" href="_modules/ccqw/progressDialog.html#ThreadedFunc.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.progressDialog.ThreadedFunc.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new ThreadedFunc instance.</p>
<blockquote>
<div>*args and **kargs are fed to <cite>func</cite></div></blockquote>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>func</strong> (<em>function</em>) &#8211; the function to run</li>
<li><strong>*args</strong> (<em>various</em>) &#8211; various</li>
<li><strong>*kargs</strong> (<em>various</em>) &#8211; various</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.progressDialog.ThreadedFunc.abort">
<tt class="descname">abort</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/progressDialog.html#ThreadedFunc.abort"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.progressDialog.ThreadedFunc.abort" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the &#8220;we want abort&#8221; flag</p>
</dd></dl>

<dl class="method">
<dt id="ccqw.progressDialog.ThreadedFunc.quit">
<tt class="descname">quit</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/progressDialog.html#ThreadedFunc.quit"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.progressDialog.ThreadedFunc.quit" title="Permalink to this definition">¶</a></dt>
<dd><p>A method to check if the &#8220;we want abort&#8221; flag is set from inside
the threaded function.</p>
</dd></dl>

<dl class="method">
<dt id="ccqw.progressDialog.ThreadedFunc.run">
<tt class="descname">run</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/progressDialog.html#ThreadedFunc.run"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.progressDialog.ThreadedFunc.run" title="Permalink to this definition">¶</a></dt>
<dd><p>Start the Thread</p>
</dd></dl>

<dl class="attribute">
<dt id="ccqw.progressDialog.ThreadedFunc.staticMetaObject">
<tt class="descname">staticMetaObject</tt><em class="property"> = &lt;PySide.QtCore.QMetaObject object at 0x4b750e0&gt;</em><a class="headerlink" href="#ccqw.progressDialog.ThreadedFunc.staticMetaObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

</div>
<div class="section" id="projdialog-module">
<h2><tt class="xref py py-mod docutils literal"><span class="pre">projDialog</span></tt> Module<a class="headerlink" href="#projdialog-module" title="Permalink to this headline">¶</a></h2>
<p class="graphviz">
<img src="_images/inheritance-8ba5302c946afdb3fc5b04d3bef5e47c8a3609b2.png" alt="Inheritance diagram of ccqw.projDialog" usemap="#inheritance93c1574e6c" class="inheritance"/>
<map id="inheritance93c1574e6c" name="inheritance93c1574e6c">
<area shape="rect" id="node4" href="#ccqw.projDialog.ProjDialog" title="ccqw.projDialog.ProjDialog" alt="" coords="5,315,181,343"/>
<area shape="rect" id="node9" href="#ccqw.projDialog.SearchWidget" title="ccqw.projDialog.SearchWidget" alt="" coords="193,238,391,266"/>
</map>
</p>
<span class="target" id="module-ccqw.projDialog"></span><p>Projection Dialog: a widget to choose Datum / Projection from pyproj</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Author:</th><td class="field-body"><ul class="first simple">
<li>20111221-20120313 Roberto Vidmar</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Revision:</th><td class="field-body"><p class="first">$Revision: 52 $
$Date: 2012-11-12 10:07:15 +0100 (Mon, 12 Nov 2012) $</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Copyright:</th><td class="field-body"><p class="first">2011-2012
Nicola Creati &lt;<a class="reference external" href="mailto:ncreati&#37;&#52;&#48;inogs&#46;it">ncreati<span>&#64;</span>inogs<span>&#46;</span>it</a>&gt;
Roberto Vidmar &lt;<a class="reference external" href="mailto:rvidmar&#37;&#52;&#48;inogs&#46;it">rvidmar<span>&#64;</span>inogs<span>&#46;</span>it</a>&gt;</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">License:</th><td class="field-body"><p class="first last">MIT/X11 License (see <a class="reference download internal" href="_downloads/license.txt"><tt class="xref download docutils literal"><span class="pre">license.txt</span></tt></a>)</p>
</td>
</tr>
</tbody>
</table>
<dl class="class">
<dt id="ccqw.projDialog.SearchWidget">
<em class="property">class </em><tt class="descclassname">ccqw.projDialog.</tt><tt class="descname">SearchWidget</tt><big>(</big><em>parent</em>, <em>text=''</em><big>)</big><a class="reference internal" href="_modules/ccqw/projDialog.html#SearchWidget"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projDialog.SearchWidget" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">PySide.QtGui.QWidget</span></tt></p>
<p>Search for a string in the projection tree.
The widget has a button and a QlineEdit field.</p>
<dl class="method">
<dt id="ccqw.projDialog.SearchWidget.__init__">
<tt class="descname">__init__</tt><big>(</big><em>parent</em>, <em>text=''</em><big>)</big><a class="reference internal" href="_modules/ccqw/projDialog.html#SearchWidget.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projDialog.SearchWidget.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new SearchWidget instance.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>parent</strong> (<em>QtGui widget</em>) &#8211; parent widget</li>
<li><strong>text</strong> (<em>string</em>) &#8211; the text to search for</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projDialog.SearchWidget.onTextChanged">
<tt class="descname">onTextChanged</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/projDialog.html#SearchWidget.onTextChanged"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projDialog.SearchWidget.onTextChanged" title="Permalink to this definition">¶</a></dt>
<dd><p>Update text contained in the search button</p>
</dd></dl>

<dl class="method">
<dt id="ccqw.projDialog.SearchWidget.text">
<tt class="descname">text</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/projDialog.html#SearchWidget.text"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projDialog.SearchWidget.text" title="Permalink to this definition">¶</a></dt>
<dd><p>Return text contained in the QLineEdit widget</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">text contained in the QLineEdit widget</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">string</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projDialog.SearchWidget.setText">
<tt class="descname">setText</tt><big>(</big><em>text</em><big>)</big><a class="reference internal" href="_modules/ccqw/projDialog.html#SearchWidget.setText"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projDialog.SearchWidget.setText" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the text contained in the QLineEdit widget</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>text</strong> (<em>string</em>) &#8211; new text</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projDialog.SearchWidget.resetBtnText">
<tt class="descname">resetBtnText</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/projDialog.html#SearchWidget.resetBtnText"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projDialog.SearchWidget.resetBtnText" title="Permalink to this definition">¶</a></dt>
<dd><p>Reset the text contained in the Button widget to its default</p>
</dd></dl>

<dl class="method">
<dt id="ccqw.projDialog.SearchWidget.setBtnText">
<tt class="descname">setBtnText</tt><big>(</big><em>text</em><big>)</big><a class="reference internal" href="_modules/ccqw/projDialog.html#SearchWidget.setBtnText"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projDialog.SearchWidget.setBtnText" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the text contained in the Button widget to text</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>text</strong> (<em>string</em>) &#8211; new text</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="ccqw.projDialog.SearchWidget.staticMetaObject">
<tt class="descname">staticMetaObject</tt><em class="property"> = &lt;PySide.QtCore.QMetaObject object at 0x4b581b8&gt;</em><a class="headerlink" href="#ccqw.projDialog.SearchWidget.staticMetaObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="ccqw.projDialog.ProjDialog">
<em class="property">class </em><tt class="descclassname">ccqw.projDialog.</tt><tt class="descname">ProjDialog</tt><big>(</big><em>proj='+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs'</em>, <em>parent=None</em><big>)</big><a class="reference internal" href="_modules/ccqw/projDialog.html#ProjDialog"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projDialog.ProjDialog" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">PySide.QtGui.QDialog</span></tt></p>
<p>Projection selection dialog</p>
<dl class="attribute">
<dt id="ccqw.projDialog.ProjDialog.WGS84">
<tt class="descname">WGS84</tt><em class="property"> = '+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs'</em><a class="headerlink" href="#ccqw.projDialog.ProjDialog.WGS84" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.projDialog.ProjDialog.__init__">
<tt class="descname">__init__</tt><big>(</big><em>proj='+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs'</em>, <em>parent=None</em><big>)</big><a class="reference internal" href="_modules/ccqw/projDialog.html#ProjDialog.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projDialog.ProjDialog.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new ProjDialog instance.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>proj</strong> (<em>string</em>) &#8211; the PROJ.4 string defining the projection</li>
<li><strong>parent</strong> (<em>QtGui widget</em>) &#8211; parent widget</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projDialog.ProjDialog.keyPressEvent">
<tt class="descname">keyPressEvent</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="_modules/ccqw/projDialog.html#ProjDialog.keyPressEvent"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projDialog.ProjDialog.keyPressEvent" title="Permalink to this definition">¶</a></dt>
<dd><p>Reimplementation of keyPressEvent to disable default behaviour
of Return key (i.e. trigger the Ok button).</p>
</dd></dl>

<dl class="method">
<dt id="ccqw.projDialog.ProjDialog.updateCurrent">
<tt class="descname">updateCurrent</tt><big>(</big><em>text</em><big>)</big><a class="reference internal" href="_modules/ccqw/projDialog.html#ProjDialog.updateCurrent"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projDialog.ProjDialog.updateCurrent" title="Permalink to this definition">¶</a></dt>
<dd><p>Update current projection string</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>text</strong> (<em>string</em>) &#8211; new text</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projDialog.ProjDialog.onCurrentChanged">
<tt class="descname">onCurrentChanged</tt><big>(</big><em>curIdx=None</em>, <em>preIdx=None</em><big>)</big><a class="reference internal" href="_modules/ccqw/projDialog.html#ProjDialog.onCurrentChanged"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projDialog.ProjDialog.onCurrentChanged" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.projDialog.ProjDialog.search">
<tt class="descname">search</tt><big>(</big><em>exact=False</em><big>)</big><a class="reference internal" href="_modules/ccqw/projDialog.html#ProjDialog.search"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projDialog.ProjDialog.search" title="Permalink to this definition">¶</a></dt>
<dd><p>Search projection string in tree</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>exact</strong> (<em>bool</em>) &#8211; if False search also substrings</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projDialog.ProjDialog.projection">
<tt class="descname">projection</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/projDialog.html#ProjDialog.projection"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projDialog.ProjDialog.projection" title="Permalink to this definition">¶</a></dt>
<dd><p>Return current projection string</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">current projection string</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">string</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="ccqw.projDialog.ProjDialog.staticMetaObject">
<tt class="descname">staticMetaObject</tt><em class="property"> = &lt;PySide.QtCore.QMetaObject object at 0x4b58908&gt;</em><a class="headerlink" href="#ccqw.projDialog.ProjDialog.staticMetaObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

</div>
<div class="section" id="projectedwidget-module">
<h2><tt class="xref py py-mod docutils literal"><span class="pre">projectedWidget</span></tt> Module<a class="headerlink" href="#projectedwidget-module" title="Permalink to this headline">¶</a></h2>
<p class="graphviz">
<img src="_images/inheritance-fc6b05fd2610f593dc6438b244f522767c640cee.png" alt="Inheritance diagram of ccqw.projectedWidget" usemap="#inheritance73917712f9" class="inheritance"/>
<map id="inheritance73917712f9" name="inheritance73917712f9">
<area shape="rect" id="node8" href="#ccqw.projectedWidget.ProjectedWidget" title="ccqw.projectedWidget.ProjectedWidget" alt="" coords="5,238,256,266"/>
</map>
</p>
<span class="target" id="module-ccqw.projectedWidget"></span><p>A Projected Coordinates Widget</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Author:</th><td class="field-body"><ul class="first simple">
<li>20111202-20120110 Roberto Vidmar</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Revision:</th><td class="field-body"><p class="first">$Revision: 52 $
$Date: 2012-11-12 10:07:15 +0100 (Mon, 12 Nov 2012) $</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Copyright:</th><td class="field-body"><p class="first">2011-2012
Nicola Creati &lt;<a class="reference external" href="mailto:ncreati&#37;&#52;&#48;inogs&#46;it">ncreati<span>&#64;</span>inogs<span>&#46;</span>it</a>&gt;
Roberto Vidmar &lt;<a class="reference external" href="mailto:rvidmar&#37;&#52;&#48;inogs&#46;it">rvidmar<span>&#64;</span>inogs<span>&#46;</span>it</a>&gt;</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">License:</th><td class="field-body"><p class="first last">MIT/X11 License (see <a class="reference download internal" href="_downloads/license.txt"><tt class="xref download docutils literal"><span class="pre">license.txt</span></tt></a>)</p>
</td>
</tr>
</tbody>
</table>
<dl class="class">
<dt id="ccqw.projectedWidget.ProjectedWidget">
<em class="property">class </em><tt class="descclassname">ccqw.projectedWidget.</tt><tt class="descname">ProjectedWidget</tt><big>(</big><em>*args</em>, <em>**kargs</em><big>)</big><a class="reference internal" href="_modules/ccqw/projectedWidget.html#ProjectedWidget"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projectedWidget.ProjectedWidget" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">PySide.QtGui.QWidget</span></tt></p>
<p>A Widget that handles projected coordinates</p>
<dl class="attribute">
<dt id="ccqw.projectedWidget.ProjectedWidget.textEditedSignal">
<tt class="descname">textEditedSignal</tt><em class="property"> = &lt;PySide.QtCore.Signal object at 0x4b4d298&gt;</em><a class="headerlink" href="#ccqw.projectedWidget.ProjectedWidget.textEditedSignal" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.projectedWidget.ProjectedWidget.__init__">
<tt class="descname">__init__</tt><big>(</big><em>*args</em>, <em>**kargs</em><big>)</big><a class="reference internal" href="_modules/ccqw/projectedWidget.html#ProjectedWidget.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projectedWidget.ProjectedWidget.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new instance of the widget.</p>
<p>The first argument, if present, is the value to assign.</p>
<p>The following keyword arguments are understood:</p>
<ul>
<li><dl class="first docutils">
<dt>name <span class="classifier-delimiter">:</span> <span class="classifier">name of the widget</span></dt>
<dd><p class="first last">Default is &#8216;&#8217;</p>
</dd>
</dl>
</li>
<li><dl class="first docutils">
<dt>coordLen <span class="classifier-delimiter">:</span> <span class="classifier">number of figures in float number</span></dt>
<dd><p class="first last">Default is 7</p>
</dd>
</dl>
</li>
<li><dl class="first docutils">
<dt>decimals <span class="classifier-delimiter">:</span> <span class="classifier">number of decmals for the representation</span></dt>
<dd><p class="first last">Default is 3</p>
</dd>
</dl>
</li>
<li><dl class="first docutils">
<dt>align <span class="classifier-delimiter">:</span> <span class="classifier">alignment of the widget.</span></dt>
<dd><p class="first last">Default is Qt.AlignRight</p>
</dd>
</dl>
</li>
<li><dl class="first docutils">
<dt>readonly <span class="classifier-delimiter">:</span> <span class="classifier">read only attribute.</span></dt>
<dd><p class="first last">Default is False</p>
</dd>
</dl>
</li>
</ul>
</dd></dl>

<dl class="method">
<dt id="ccqw.projectedWidget.ProjectedWidget.textEdited">
<tt class="descname">textEdited</tt><big>(</big><em>text</em><big>)</big><a class="reference internal" href="_modules/ccqw/projectedWidget.html#ProjectedWidget.textEdited"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projectedWidget.ProjectedWidget.textEdited" title="Permalink to this definition">¶</a></dt>
<dd><p>Update all widgets except the one that sent the signal</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>text</strong> (<em>string</em>) &#8211; the content of the editor widget</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projectedWidget.ProjectedWidget.fvalue">
<tt class="descname">fvalue</tt><big>(</big><em>rep=None</em><big>)</big><a class="reference internal" href="_modules/ccqw/projectedWidget.html#ProjectedWidget.fvalue"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projectedWidget.ProjectedWidget.fvalue" title="Permalink to this definition">¶</a></dt>
<dd><p>Return widget float value(s) according to rep
Default is current representation</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>rep</strong> (<em>any</em>) &#8211; representation <strong>(this parameter is unused)</strong></td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">widget float value(s) according to rep</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">list</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projectedWidget.ProjectedWidget.tvalue">
<tt class="descname">tvalue</tt><big>(</big><em>rep=None</em><big>)</big><a class="reference internal" href="_modules/ccqw/projectedWidget.html#ProjectedWidget.tvalue"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projectedWidget.ProjectedWidget.tvalue" title="Permalink to this definition">¶</a></dt>
<dd><p>Return widget tuple string value according to rep
Default is current representation</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>rep</strong> (<em>any</em>) &#8211; representation <strong>(this parameter is unused)</strong></td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">widget tuple string value according to rep</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">tuple</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="ccqw.projectedWidget.ProjectedWidget.staticMetaObject">
<tt class="descname">staticMetaObject</tt><em class="property"> = &lt;PySide.QtCore.QMetaObject object at 0x4b4f5f0&gt;</em><a class="headerlink" href="#ccqw.projectedWidget.ProjectedWidget.staticMetaObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.projectedWidget.ProjectedWidget.svalue">
<tt class="descname">svalue</tt><big>(</big><em>rep=None</em><big>)</big><a class="reference internal" href="_modules/ccqw/projectedWidget.html#ProjectedWidget.svalue"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projectedWidget.ProjectedWidget.svalue" title="Permalink to this definition">¶</a></dt>
<dd><p>Return widget string value according to rep</p>
<blockquote>
<div>Default is current representation</div></blockquote>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>rep</strong> (<em>any</em>) &#8211; representation <strong>(this parameter is unused)</strong></td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">widget string value according to rep</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">tuple</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projectedWidget.ProjectedWidget.setValue">
<tt class="descname">setValue</tt><big>(</big><em>value</em><big>)</big><a class="reference internal" href="_modules/ccqw/projectedWidget.html#ProjectedWidget.setValue"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projectedWidget.ProjectedWidget.setValue" title="Permalink to this definition">¶</a></dt>
<dd><p>Set widget value.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>value</strong> (<em>float</em>) &#8211; new float value</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="projmvc-module">
<h2><tt class="xref py py-mod docutils literal"><span class="pre">projMVC</span></tt> Module<a class="headerlink" href="#projmvc-module" title="Permalink to this headline">¶</a></h2>
<p class="graphviz">
<img src="_images/inheritance-02e7a44c57f7f155a4b531ec59f2d1916d9db8e3.png" alt="Inheritance diagram of ccqw.projMVC" usemap="#inheritance7a91b7f1f8" class="inheritance"/>
<map id="inheritance7a91b7f1f8" name="inheritance7a91b7f1f8">
<area shape="rect" id="node9" href="#ccqw.projMVC.ProjModel" title="ccqw.projMVC.ProjModel" alt="" coords="37,238,205,266"/>
<area shape="rect" id="node4" href="#ccqw.projMVC.UserDefinedDialog" title="ccqw.projMVC.UserDefinedDialog" alt="" coords="421,315,637,343"/>
<area shape="rect" id="node33" href="#ccqw.projMVC.SaveEPSGDialog" title="ccqw.projMVC.SaveEPSGDialog" alt="" coords="187,315,397,343"/>
<area shape="rect" id="node11" href="#ccqw.projMVC.BranchNode" title="ccqw.projMVC.BranchNode" alt="" coords="416,6,597,34"/>
<area shape="rect" id="node25" href="#ccqw.projMVC.ProjView" title="ccqw.projMVC.ProjView" alt="" coords="693,547,853,575"/>
<area shape="rect" id="node18" href="#ccqw.projMVC.ProjValidator" title="ccqw.projMVC.ProjValidator" alt="" coords="248,238,429,266"/>
<area shape="rect" id="node22" href="#ccqw.projMVC.Odict" title="ccqw.projMVC.Odict" alt="" coords="635,83,776,111"/>
<area shape="rect" id="node36" href="#ccqw.projMVC.LeafNode" title="ccqw.projMVC.LeafNode" alt="" coords="781,6,944,34"/>
</map>
</p>
<span class="target" id="module-ccqw.projMVC"></span><p>Datum / Projection Tree Model/View</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Author:</th><td class="field-body"><ul class="first simple">
<li>20111221-20120110 Roberto Vidmar</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Revision:</th><td class="field-body"><p class="first">$Revision: 52 $
$Date: 2012-11-12 10:07:15 +0100 (Mon, 12 Nov 2012) $</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Copyright:</th><td class="field-body"><p class="first">2011-2012
Nicola Creati &lt;<a class="reference external" href="mailto:ncreati&#37;&#52;&#48;inogs&#46;it">ncreati<span>&#64;</span>inogs<span>&#46;</span>it</a>&gt;
Roberto Vidmar &lt;<a class="reference external" href="mailto:rvidmar&#37;&#52;&#48;inogs&#46;it">rvidmar<span>&#64;</span>inogs<span>&#46;</span>it</a>&gt;</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">License:</th><td class="field-body"><p class="first last">MIT/X11 License (see <a class="reference download internal" href="_downloads/license.txt"><tt class="xref download docutils literal"><span class="pre">license.txt</span></tt></a>)</p>
</td>
</tr>
</tbody>
</table>
<dl class="class">
<dt id="ccqw.projMVC.BranchNode">
<em class="property">class </em><tt class="descclassname">ccqw.projMVC.</tt><tt class="descname">BranchNode</tt><big>(</big><em>name</em>, <em>parent=None</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#BranchNode"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.BranchNode" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></p>
<p>Branch Node implementation</p>
<dl class="method">
<dt id="ccqw.projMVC.BranchNode.__init__">
<tt class="descname">__init__</tt><big>(</big><em>name</em>, <em>parent=None</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#BranchNode.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.BranchNode.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new BranchNode instance.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>name</strong> (<em>string</em>) &#8211; Name of the branch</li>
<li><strong>parent</strong> (<em>BranchNode instance</em>) &#8211; parent node</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.BranchNode.__len__">
<tt class="descname">__len__</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#BranchNode.__len__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.BranchNode.__len__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.BranchNode.__repr__">
<tt class="descname">__repr__</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#BranchNode.__repr__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.BranchNode.__repr__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.BranchNode.__str__">
<tt class="descname">__str__</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#BranchNode.__str__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.BranchNode.__str__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.BranchNode.appendChild">
<tt class="descname">appendChild</tt><big>(</big><em>child</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#BranchNode.appendChild"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.BranchNode.appendChild" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.BranchNode.childAtRow">
<tt class="descname">childAtRow</tt><big>(</big><em>row</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#BranchNode.childAtRow"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.BranchNode.childAtRow" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.BranchNode.children">
<tt class="descname">children</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#BranchNode.children"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.BranchNode.children" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.BranchNode.isBranch">
<tt class="descname">isBranch</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#BranchNode.isBranch"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.BranchNode.isBranch" title="Permalink to this definition">¶</a></dt>
<dd><p>Return True</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">True</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">bool</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.BranchNode.isLeaf">
<tt class="descname">isLeaf</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#BranchNode.isLeaf"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.BranchNode.isLeaf" title="Permalink to this definition">¶</a></dt>
<dd><p>Return False</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">False</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">bool</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.BranchNode.name">
<tt class="descname">name</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#BranchNode.name"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.BranchNode.name" title="Permalink to this definition">¶</a></dt>
<dd><p>Return node name</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">node name</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">string</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.BranchNode.parent">
<tt class="descname">parent</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#BranchNode.parent"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.BranchNode.parent" title="Permalink to this definition">¶</a></dt>
<dd><p>Return parent node</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">parent node</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">BranchNode</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.BranchNode.removeChildAtRow">
<tt class="descname">removeChildAtRow</tt><big>(</big><em>row</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#BranchNode.removeChildAtRow"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.BranchNode.removeChildAtRow" title="Permalink to this definition">¶</a></dt>
<dd><p>Remove child at rowa <cite>row</cite></p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>row</strong> &#8211; number of the row to remove (starting from 0)</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.BranchNode.rowOfChild">
<tt class="descname">rowOfChild</tt><big>(</big><em>child</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#BranchNode.rowOfChild"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.BranchNode.rowOfChild" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="ccqw.projMVC.LeafNode">
<em class="property">class </em><tt class="descclassname">ccqw.projMVC.</tt><tt class="descname">LeafNode</tt><big>(</big><em>entry</em>, <em>parent=None</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#LeafNode"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.LeafNode" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></p>
<p>Leaf Node implementation</p>
<dl class="method">
<dt id="ccqw.projMVC.LeafNode.__init__">
<tt class="descname">__init__</tt><big>(</big><em>entry</em>, <em>parent=None</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#LeafNode.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.LeafNode.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new LeafNode instance.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>entry</strong> (<em>tuple</em>) &#8211; (epsg, name, value)</li>
<li><strong>parent</strong> (<em>BranchNode instance</em>) &#8211; parent node</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.LeafNode.__len__">
<tt class="descname">__len__</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#LeafNode.__len__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.LeafNode.__len__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.LeafNode.__repr__">
<tt class="descname">__repr__</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#LeafNode.__repr__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.LeafNode.__repr__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.LeafNode.__str__">
<tt class="descname">__str__</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#LeafNode.__str__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.LeafNode.__str__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.LeafNode.childAtRow">
<tt class="descname">childAtRow</tt><big>(</big><em>row</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#LeafNode.childAtRow"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.LeafNode.childAtRow" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.LeafNode.children">
<tt class="descname">children</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#LeafNode.children"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.LeafNode.children" title="Permalink to this definition">¶</a></dt>
<dd><p>Return node children: the empty list</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">[]</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">list</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.LeafNode.epsg">
<tt class="descname">epsg</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#LeafNode.epsg"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.LeafNode.epsg" title="Permalink to this definition">¶</a></dt>
<dd><p>Return EPSG code</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">EPSG code</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">string</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.LeafNode.field">
<tt class="descname">field</tt><big>(</big><em>column</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#LeafNode.field"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.LeafNode.field" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.LeafNode.getMyRow">
<tt class="descname">getMyRow</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#LeafNode.getMyRow"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.LeafNode.getMyRow" title="Permalink to this definition">¶</a></dt>
<dd><p>Return row of this node into model</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">row of this node into model</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">int</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.LeafNode.isBranch">
<tt class="descname">isBranch</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#LeafNode.isBranch"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.LeafNode.isBranch" title="Permalink to this definition">¶</a></dt>
<dd><p>Return False</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">False</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">bool</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.LeafNode.isLeaf">
<tt class="descname">isLeaf</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#LeafNode.isLeaf"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.LeafNode.isLeaf" title="Permalink to this definition">¶</a></dt>
<dd><p>Return True</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">True</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">bool</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.LeafNode.name">
<tt class="descname">name</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#LeafNode.name"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.LeafNode.name" title="Permalink to this definition">¶</a></dt>
<dd><p>Return node name</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">node name</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">string</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.LeafNode.parent">
<tt class="descname">parent</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#LeafNode.parent"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.LeafNode.parent" title="Permalink to this definition">¶</a></dt>
<dd><p>Return parent node</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">parent node</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">BranchNode</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.LeafNode.projStr">
<tt class="descname">projStr</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#LeafNode.projStr"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.LeafNode.projStr" title="Permalink to this definition">¶</a></dt>
<dd><p>Return proj string</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">PROJ.4 string</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">string</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.LeafNode.setName">
<tt class="descname">setName</tt><big>(</big><em>name</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#LeafNode.setName"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.LeafNode.setName" title="Permalink to this definition">¶</a></dt>
<dd><p>Set node name to <cite>name</cite></p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> (<em>string</em>) &#8211; node name</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="ccqw.projMVC.Odict">
<em class="property">class </em><tt class="descclassname">ccqw.projMVC.</tt><tt class="descname">Odict</tt><big>(</big><em>d=None</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#Odict"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.Odict" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">UserDict.UserDict</span></tt></p>
<p>An ordered dictionary implementation.</p>
<dl class="method">
<dt id="ccqw.projMVC.Odict.__delitem__">
<tt class="descname">__delitem__</tt><big>(</big><em>key</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#Odict.__delitem__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.Odict.__delitem__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.Odict.__init__">
<tt class="descname">__init__</tt><big>(</big><em>d=None</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#Odict.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.Odict.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new ordered dictionary instance from an optional dictionary</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>d</strong> (<em>dict</em>) &#8211; an optional dictionary from where to get the new dict keys</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.Odict.__setitem__">
<tt class="descname">__setitem__</tt><big>(</big><em>key</em>, <em>item</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#Odict.__setitem__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.Odict.__setitem__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.Odict.clear">
<tt class="descname">clear</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#Odict.clear"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.Odict.clear" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.Odict.copy">
<tt class="descname">copy</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#Odict.copy"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.Odict.copy" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a copy of the object</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">a copy of the instance</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">Odict</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.Odict.items">
<tt class="descname">items</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#Odict.items"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.Odict.items" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the items in the object</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">the items in the object</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">various</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.Odict.keys">
<tt class="descname">keys</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#Odict.keys"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.Odict.keys" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the keys in the object</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">the keys in the object</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">various</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.Odict.popitem">
<tt class="descname">popitem</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#Odict.popitem"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.Odict.popitem" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the last element in the object and remove it</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">the last element in the object</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">object&#8217;s type</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body">KeyError</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.Odict.setdefault">
<tt class="descname">setdefault</tt><big>(</big><em>key</em>, <em>failobj=None</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#Odict.setdefault"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.Odict.setdefault" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.Odict.update">
<tt class="descname">update</tt><big>(</big><em>dict</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#Odict.update"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.Odict.update" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.Odict.values">
<tt class="descname">values</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#Odict.values"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.Odict.values" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the values in the object</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">the values in the object</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">various</td>
</tr>
</tbody>
</table>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="ccqw.projMVC.ProjModel">
<em class="property">class </em><tt class="descclassname">ccqw.projMVC.</tt><tt class="descname">ProjModel</tt><big>(</big><em>parent=None</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#ProjModel"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.ProjModel" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">PySide.QtCore.QAbstractItemModel</span></tt></p>
<p>Datum / Projection TreeView Model</p>
<dl class="attribute">
<dt id="ccqw.projMVC.ProjModel.CUSTOMFILENAME">
<tt class="descname">CUSTOMFILENAME</tt><em class="property"> = '~/.custom_projections'</em><a class="headerlink" href="#ccqw.projMVC.ProjModel.CUSTOMFILENAME" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.ProjModel.__init__">
<tt class="descname">__init__</tt><big>(</big><em>parent=None</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#ProjModel.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.ProjModel.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new ProjModel instance.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>parent</strong> (<em>QObject</em>) &#8211; parent object</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.ProjModel.addCustom">
<tt class="descname">addCustom</tt><big>(</big><em>value</em>, <em>epsgString=''</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#ProjModel.addCustom"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.ProjModel.addCustom" title="Permalink to this definition">¶</a></dt>
<dd><p>Return QModelIndex of new user defined (custom) Datum / Projection</p>
<blockquote>
<div><ul class="simple">
<li>NEW DATA WILL BE ADDED TO THE MODEL</li>
</ul>
</div></blockquote>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>value</strong> (<em>string</em>) &#8211; custom projection</li>
<li><strong>epsgString</strong> (<em>string</em>) &#8211; optional EPSG string</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">QModelIndex of new user defined (custom) Datum / Projection</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first">QModelIndex</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.ProjModel.columnCount">
<tt class="descname">columnCount</tt><big>(</big><em>parent</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#ProjModel.columnCount"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.ProjModel.columnCount" title="Permalink to this definition">¶</a></dt>
<dd><p>Return number of columns in the model</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">number of columns in the model</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">int</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.ProjModel.data">
<tt class="descname">data</tt><big>(</big><em>index</em>, <em>role</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#ProjModel.data"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.ProjModel.data" title="Permalink to this definition">¶</a></dt>
<dd><p>Custom Reimplementation of the <cite>data</cite> method.</p>
<ul class="simple">
<li>Return the data stored under the given role for the item referred
to by the index</li>
</ul>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.ProjModel.flags">
<tt class="descname">flags</tt><big>(</big><em>index</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#ProjModel.flags"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.ProjModel.flags" title="Permalink to this definition">¶</a></dt>
<dd><p>Custom Reimplementation of the <cite>flags</cite> method.</p>
<p>Return the item flags for the given index.
The base class implementation returns a combination of flags that
enables the item (ItemIsEnabled) and allows it to be selected
(ItemIsSelectable). See Qt Documentation.</p>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.ProjModel.headerData">
<tt class="descname">headerData</tt><big>(</big><em>section</em>, <em>orientation</em>, <em>role</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#ProjModel.headerData"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.ProjModel.headerData" title="Permalink to this definition">¶</a></dt>
<dd><p>Set header value model</p>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.ProjModel.index">
<tt class="descname">index</tt><big>(</big><em>row</em>, <em>column</em>, <em>parentIndex</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#ProjModel.index"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.ProjModel.index" title="Permalink to this definition">¶</a></dt>
<dd><p>Custom Reimplementation of the <cite>index</cite> method.</p>
<blockquote>
<div>Return the QModelIndex for the element at (row, column) given
parentIndex</div></blockquote>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">Must be implemented</p>
</div>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.ProjModel.indexOfCol0">
<tt class="descname">indexOfCol0</tt><big>(</big><em>index</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#ProjModel.indexOfCol0"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.ProjModel.indexOfCol0" title="Permalink to this definition">¶</a></dt>
<dd><p>Return QModelIndex of item at column 0</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>index</strong> (<em>QModelIndex</em>) &#8211; QModelIndex</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">QModelIndex of item at column 0</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">QModelIndex</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.ProjModel.load">
<tt class="descname">load</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#ProjModel.load"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.ProjModel.load" title="Permalink to this definition">¶</a></dt>
<dd><p>Populate the QTreeModel loading data with <cite>pyprojEPSGDict()</cite></p>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.ProjModel.loadCustom">
<tt class="descname">loadCustom</tt><big>(</big><em>branch</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#ProjModel.loadCustom"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.ProjModel.loadCustom" title="Permalink to this definition">¶</a></dt>
<dd><p>Load custom projections from file to branch node</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>branch</strong> (<em>BranchNode</em>) &#8211; branch node</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.ProjModel.makeNewName">
<tt class="descname">makeNewName</tt><big>(</big><em>sepchr='-'</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#ProjModel.makeNewName"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.ProjModel.makeNewName" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a new name for a user defined Datum / Projection</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>sepchr</strong> (<em>string</em>) &#8211; separation character</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">new name for a user defined Datum / Projection</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">string</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.ProjModel.nodeFromIndex">
<tt class="descname">nodeFromIndex</tt><big>(</big><em>index</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#ProjModel.nodeFromIndex"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.ProjModel.nodeFromIndex" title="Permalink to this definition">¶</a></dt>
<dd><p>Return node (BranchNode or LeafNode) instance from QModelIndex</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>index</strong> (<em>QModelIndex</em>) &#8211; QModelIndex</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">(BranchNode or LeafNode) instance from QModelIndex</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">BranchNode or LeafNode</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.ProjModel.parent">
<tt class="descname">parent</tt><big>(</big><em>child</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#ProjModel.parent"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.ProjModel.parent" title="Permalink to this definition">¶</a></dt>
<dd><p>Return parent QModelIndex of <cite>child</cite></p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>child</strong> (<em>QModelIndex</em>) &#8211; QModelIndex</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">parent QModelIndex of <cite>child</cite></td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">QModelIndex</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.ProjModel.removeRecord">
<tt class="descname">removeRecord</tt><big>(</big><em>index</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#ProjModel.removeRecord"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.ProjModel.removeRecord" title="Permalink to this definition">¶</a></dt>
<dd><p>Remove only items in the first branch (user defined records).</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>index</strong> (<em>QModelIndex</em>) &#8211; QModelIndex</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">True on success</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">bool</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.ProjModel.rightmostIndex">
<tt class="descname">rightmostIndex</tt><big>(</big><em>index</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#ProjModel.rightmostIndex"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.ProjModel.rightmostIndex" title="Permalink to this definition">¶</a></dt>
<dd><p>Return index of rightmost item in the row of index</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>index</strong> (<em>QModelIndex</em>) &#8211; index of an intem in the tree</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">QModelIndex of rightmost item in the row of index</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">QModelIndex</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.ProjModel.rowCount">
<tt class="descname">rowCount</tt><big>(</big><em>parent</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#ProjModel.rowCount"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.ProjModel.rowCount" title="Permalink to this definition">¶</a></dt>
<dd><p>Return number of rows in parent tree</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>parent</strong> (<em>QModelIndex</em>) &#8211; QModelIndex</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">number of rows in parent node</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">int</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.ProjModel.saveCustom">
<tt class="descname">saveCustom</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#ProjModel.saveCustom"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.ProjModel.saveCustom" title="Permalink to this definition">¶</a></dt>
<dd><p>Save custom projections to well known <a class="reference internal" href="#ccqw.projMVC.ProjModel.CUSTOMFILENAME" title="ccqw.projMVC.ProjModel.CUSTOMFILENAME"><tt class="xref py py-class docutils literal"><span class="pre">CUSTOMFILENAME</span></tt></a></p>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.ProjModel.search">
<tt class="descname">search</tt><big>(</big><em>s</em>, <em>matchCase=False</em>, <em>exact=False</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#ProjModel.search"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.ProjModel.search" title="Permalink to this definition">¶</a></dt>
<dd><p>Recursively search the model for string s in (name, epsg, projString)</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>s</strong> (<em>string</em>) &#8211; string to search</li>
<li><strong>matchCase</strong> (<em>bool</em>) &#8211; ignore case in search if True</li>
<li><strong>exact</strong> (<em>bool</em>) &#8211; exact match if True, contained if False</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">list of items that match</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first">list</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.ProjModel.setData">
<tt class="descname">setData</tt><big>(</big><em>index</em>, <em>value</em>, <em>role=PySide.QtCore.Qt.ItemDataRole.DisplayRole</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#ProjModel.setData"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.ProjModel.setData" title="Permalink to this definition">¶</a></dt>
<dd><p>Custom Reimplementation of the <cite>setData</cite> method.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">DATA IN THE MODEL WILL CHANGE AFTER THIS CALL</p>
</div>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">After changing the node data, models must emit the dataChanged()
signal to inform other components of the change.</p>
</div>
<div class="admonition warning">
<p class="first admonition-title">Warning</p>
<p class="last">We go through setData twice if we press &lt;Enter&gt;</p>
</div>
</dd></dl>

<dl class="attribute">
<dt id="ccqw.projMVC.ProjModel.staticMetaObject">
<tt class="descname">staticMetaObject</tt><em class="property"> = &lt;PySide.QtCore.QMetaObject object at 0x4b645f0&gt;</em><a class="headerlink" href="#ccqw.projMVC.ProjModel.staticMetaObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="ccqw.projMVC.ProjValidator">
<em class="property">class </em><tt class="descclassname">ccqw.projMVC.</tt><tt class="descname">ProjValidator</tt><big>(</big><em>parent</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#ProjValidator"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.ProjValidator" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">PySide.QtGui.QValidator</span></tt></p>
<p>Validate string against PROJ4 syntax.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">This validator stores its status for later usage</p>
</div>
<dl class="method">
<dt id="ccqw.projMVC.ProjValidator.__init__">
<tt class="descname">__init__</tt><big>(</big><em>parent</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#ProjValidator.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.ProjValidator.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new ProjValidator instance.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>parent</strong> (<em>QObject</em>) &#8211; parent object</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="ccqw.projMVC.ProjValidator.staticMetaObject">
<tt class="descname">staticMetaObject</tt><em class="property"> = &lt;PySide.QtCore.QMetaObject object at 0x4b64680&gt;</em><a class="headerlink" href="#ccqw.projMVC.ProjValidator.staticMetaObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.ProjValidator.status">
<tt class="descname">status</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#ProjValidator.status"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.ProjValidator.status" title="Permalink to this definition">¶</a></dt>
<dd><p>Return True <strong>ONLY IF</strong> the status is <cite>QtGui.QValidator.Acceptable</cite></p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">True if the value is <cite>QtGui.QValidator.Acceptable</cite></td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">bool</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.ProjValidator.validate">
<tt class="descname">validate</tt><big>(</big><em>*args</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#ProjValidator.validate"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.ProjValidator.validate" title="Permalink to this definition">¶</a></dt>
<dd><p>Validate proj data string:</p>
<div class="admonition warning">
<p class="first admonition-title">Warning</p>
<p class="last"><strong>* THIS DOES NOT WORK AS EXPECTED *</strong>
Some strings seem valid but yeld unexpected results.
This depends on the <cite>Proj</cite> class implementation.</p>
</div>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="ccqw.projMVC.ProjView">
<em class="property">class </em><tt class="descclassname">ccqw.projMVC.</tt><tt class="descname">ProjView</tt><big>(</big><em>parent=None</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#ProjView"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.ProjView" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">PySide.QtGui.QTreeView</span></tt></p>
<p>Projection main TreeView based on MVC design</p>
<dl class="method">
<dt id="ccqw.projMVC.ProjView.__init__">
<tt class="descname">__init__</tt><big>(</big><em>parent=None</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#ProjView.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.ProjView.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new ProjView instance.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>parent</strong> (<em>QObject</em>) &#8211; parent object</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.ProjView.contextMenuRequested">
<tt class="descname">contextMenuRequested</tt><big>(</big><em>pos</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#ProjView.contextMenuRequested"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.ProjView.contextMenuRequested" title="Permalink to this definition">¶</a></dt>
<dd><p>Pop up a UserDefinedDialog on user request</p>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.ProjView.customAdded">
<tt class="descname">customAdded</tt><big>(</big><em>newIndex</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#ProjView.customAdded"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.ProjView.customAdded" title="Permalink to this definition">¶</a></dt>
<dd><p>Save file and update view after new User Defined projection has been
added at newIndex</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>newIndex</strong> (<em>QModelIndex</em>) &#8211; QModelIndex</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.ProjView.keyPressEvent">
<tt class="descname">keyPressEvent</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#ProjView.keyPressEvent"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.ProjView.keyPressEvent" title="Permalink to this definition">¶</a></dt>
<dd><p>Custom reimplementation of the <cite>keyPressEvent</cite> method to delete
records using  <cite>Qt.Key_Delete</cite></p>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.ProjView.resizeView">
<tt class="descname">resizeView</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#ProjView.resizeView"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.ProjView.resizeView" title="Permalink to this definition">¶</a></dt>
<dd><p>Resize columns so that everything fits into the view</p>
</dd></dl>

<dl class="attribute">
<dt id="ccqw.projMVC.ProjView.staticMetaObject">
<tt class="descname">staticMetaObject</tt><em class="property"> = &lt;PySide.QtCore.QMetaObject object at 0x4b64638&gt;</em><a class="headerlink" href="#ccqw.projMVC.ProjView.staticMetaObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="ccqw.projMVC.SaveEPSGDialog">
<em class="property">class </em><tt class="descclassname">ccqw.projMVC.</tt><tt class="descname">SaveEPSGDialog</tt><big>(</big><em>text=''</em>, <em>epsg=''</em>, <em>parent=None</em>, <em>title=u'User defined Coordinate System'</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#SaveEPSGDialog"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.SaveEPSGDialog" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">PySide.QtGui.QDialog</span></tt></p>
<p>A simple class to handle a User Defined Datum/Projection Proj.4 String</p>
<dl class="method">
<dt id="ccqw.projMVC.SaveEPSGDialog.__init__">
<tt class="descname">__init__</tt><big>(</big><em>text=''</em>, <em>epsg=''</em>, <em>parent=None</em>, <em>title=u'User defined Coordinate System'</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#SaveEPSGDialog.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.SaveEPSGDialog.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new SaveEPSGDialog instance.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>text</strong> (<em>string</em>) &#8211; text</li>
<li><strong>epsg</strong> (<em>string</em>) &#8211; optional epsg string</li>
<li><strong>parent</strong> (<em>QObject</em>) &#8211; parent object</li>
<li><strong>title</strong> (<em>string</em>) &#8211; dialog title</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="ccqw.projMVC.SaveEPSGDialog.staticMetaObject">
<tt class="descname">staticMetaObject</tt><em class="property"> = &lt;PySide.QtCore.QMetaObject object at 0x4b64710&gt;</em><a class="headerlink" href="#ccqw.projMVC.SaveEPSGDialog.staticMetaObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.SaveEPSGDialog.text">
<tt class="descname">text</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#SaveEPSGDialog.text"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.SaveEPSGDialog.text" title="Permalink to this definition">¶</a></dt>
<dd><p>Return QLineEdit content and epsg as string</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">QLineEdit content and epsg as string</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">tuple</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="ccqw.projMVC.UserDefinedDialog">
<em class="property">class </em><tt class="descclassname">ccqw.projMVC.</tt><tt class="descname">UserDefinedDialog</tt><big>(</big><em>text=''</em>, <em>parent=None</em>, <em>title=u'User defined Coordinate System'</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#UserDefinedDialog"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.UserDefinedDialog" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">PySide.QtGui.QDialog</span></tt></p>
<p>A simple class to handle a User Defined Datum/Projection Proj.4 String</p>
<dl class="method">
<dt id="ccqw.projMVC.UserDefinedDialog.__init__">
<tt class="descname">__init__</tt><big>(</big><em>text=''</em>, <em>parent=None</em>, <em>title=u'User defined Coordinate System'</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#UserDefinedDialog.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.UserDefinedDialog.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new UserDefinedDialog instance.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>text</strong> (<em>string</em>) &#8211; text of the dialog</li>
<li><strong>parent</strong> (<em>QObject</em>) &#8211; parent object</li>
<li><strong>title</strong> (<em>string</em>) &#8211; dialog title</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.UserDefinedDialog.closeEvent">
<tt class="descname">closeEvent</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#UserDefinedDialog.closeEvent"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.UserDefinedDialog.closeEvent" title="Permalink to this definition">¶</a></dt>
<dd><p>Close dialog <strong>only if</strong> the validator agrees on content</p>
</dd></dl>

<dl class="attribute">
<dt id="ccqw.projMVC.UserDefinedDialog.staticMetaObject">
<tt class="descname">staticMetaObject</tt><em class="property"> = &lt;PySide.QtCore.QMetaObject object at 0x4b646c8&gt;</em><a class="headerlink" href="#ccqw.projMVC.UserDefinedDialog.staticMetaObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="ccqw.projMVC.UserDefinedDialog.text">
<tt class="descname">text</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#UserDefinedDialog.text"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.UserDefinedDialog.text" title="Permalink to this definition">¶</a></dt>
<dd><p>Return QLineEdit content as string</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">QLineEdit content as string</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">string</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

</dd></dl>

<dl class="function">
<dt id="ccqw.projMVC.pyprojEPSGDict">
<tt class="descclassname">ccqw.projMVC.</tt><tt class="descname">pyprojEPSGDict</tt><big>(</big><em>epsgfile=None</em><big>)</big><a class="reference internal" href="_modules/ccqw/projMVC.html#pyprojEPSGDict"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.projMVC.pyprojEPSGDict" title="Permalink to this definition">¶</a></dt>
<dd><p>Return an ordered dictionary from epsg data file defined by pyproj</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>epsgfile</strong> (<em>string, unicode</em>) &#8211; EPSG file path</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">ordered dictionary from epsg data file defined by pyproj</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">Odict</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises :</th><td class="field-body"></td>
</tr>
</tbody>
</table>
</dd></dl>

</div>
<div class="section" id="module-ccqw.qtCompat">
<span id="qtcompat-module"></span><h2><tt class="xref py py-mod docutils literal"><span class="pre">qtCompat</span></tt> Module<a class="headerlink" href="#module-ccqw.qtCompat" title="Permalink to this headline">¶</a></h2>
<p>The main initialization of our PySide/PyQt4 Package.</p>
<div class="admonition warning">
<p class="first admonition-title">Warning</p>
<p class="last">this module tries to
import PySide if available, otherwise defaults to PyQt4 for the GUI.
To change this behaviour set <em>_TRY_PYSIDE</em> to False.</p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Author:</th><td class="field-body"><ul class="first simple">
<li>2009-2011 Nicola Creati</li>
<li>2009-2011 Roberto Vidmar</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Revision:</th><td class="field-body"><p class="first">$Revision: 52 $
$Date: 2012-11-12 10:07:15 +0100 (Mon, 12 Nov 2012) $</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Copyright:</th><td class="field-body"><p class="first">2011-2012
Nicola Creati &lt;<a class="reference external" href="mailto:ncreati&#37;&#52;&#48;inogs&#46;it">ncreati<span>&#64;</span>inogs<span>&#46;</span>it</a>&gt;
Roberto Vidmar &lt;<a class="reference external" href="mailto:rvidmar&#37;&#52;&#48;inogs&#46;it">rvidmar<span>&#64;</span>inogs<span>&#46;</span>it</a>&gt;</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">License:</th><td class="field-body"><p class="first last">MIT/X11 License (see <a class="reference download internal" href="_downloads/license.txt"><tt class="xref download docutils literal"><span class="pre">license.txt</span></tt></a>)</p>
</td>
</tr>
</tbody>
</table>
<dl class="function">
<dt id="ccqw.qtCompat.import_module">
<tt class="descclassname">ccqw.qtCompat.</tt><tt class="descname">import_module</tt><big>(</big><em>moduleName</em><big>)</big><a class="headerlink" href="#ccqw.qtCompat.import_module" title="Permalink to this definition">¶</a></dt>
<dd><p>The import for PySide</p>
</dd></dl>

<dl class="function">
<dt id="ccqw.qtCompat.getOpenFileName">
<tt class="descclassname">ccqw.qtCompat.</tt><tt class="descname">getOpenFileName</tt><big>(</big><em>*args</em>, <em>**kargs</em><big>)</big><a class="reference internal" href="_modules/ccqw/qtCompat.html#getOpenFileName"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.qtCompat.getOpenFileName" title="Permalink to this definition">¶</a></dt>
<dd><p>Wrap to PySide QtGui.QFileDialog.getOpenFileName</p>
</dd></dl>

<dl class="function">
<dt id="ccqw.qtCompat.getOpenFileNames">
<tt class="descclassname">ccqw.qtCompat.</tt><tt class="descname">getOpenFileNames</tt><big>(</big><em>*args</em>, <em>**kargs</em><big>)</big><a class="reference internal" href="_modules/ccqw/qtCompat.html#getOpenFileNames"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.qtCompat.getOpenFileNames" title="Permalink to this definition">¶</a></dt>
<dd><p>Wrap to PySide QtGui.QFileDialog.getOpenFileNames</p>
</dd></dl>

<dl class="function">
<dt id="ccqw.qtCompat.getSaveFileName">
<tt class="descclassname">ccqw.qtCompat.</tt><tt class="descname">getSaveFileName</tt><big>(</big><em>*args</em>, <em>**kargs</em><big>)</big><a class="reference internal" href="_modules/ccqw/qtCompat.html#getSaveFileName"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#ccqw.qtCompat.getSaveFileName" title="Permalink to this definition">¶</a></dt>
<dd><p>Wrap to PySide QtGui.QFileDialog.getSaveFileName</p>
</dd></dl>

</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
            <p class="logo"><a href="index.html">
              <img class="logo" src="_static/ogs.png" alt="Logo"/>
            </a></p>
  <h3><a href="index.html">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#"><tt class="docutils literal"><span class="pre">ccqw</span></tt> Package</a><ul>
<li><a class="reference internal" href="#abstractfeditor-module"><tt class="docutils literal"><span class="pre">abstractFeditor</span></tt> Module</a></li>
<li><a class="reference internal" href="#coorddialog-module"><tt class="docutils literal"><span class="pre">coordDialog</span></tt> Module</a></li>
<li><a class="reference internal" href="#coordwidget-module"><tt class="docutils literal"><span class="pre">coordWidget</span></tt> Module</a></li>
<li><a class="reference internal" href="#module-ccqw.degrees"><tt class="docutils literal"><span class="pre">degrees</span></tt> Module</a></li>
<li><a class="reference internal" href="#degreeswidget-module"><tt class="docutils literal"><span class="pre">degreesWidget</span></tt> Module</a></li>
<li><a class="reference internal" href="#fieldswizard-module"><tt class="docutils literal"><span class="pre">fieldsWizard</span></tt> Module</a></li>
<li><a class="reference internal" href="#filebrowser-module"><tt class="docutils literal"><span class="pre">fileBrowser</span></tt> Module</a></li>
<li><a class="reference internal" href="#filepicker-module"><tt class="docutils literal"><span class="pre">filePicker</span></tt> Module</a></li>
<li><a class="reference internal" href="#geodesy-module"><tt class="docutils literal"><span class="pre">geodesy</span></tt> Module</a></li>
<li><a class="reference internal" href="#heightwidget-module"><tt class="docutils literal"><span class="pre">heightWidget</span></tt> Module</a></li>
<li><a class="reference internal" href="#module-ccqw.interp"><tt class="docutils literal"><span class="pre">interp</span></tt> Module</a></li>
<li><a class="reference internal" href="#module-ccqw.make_rc"><tt class="docutils literal"><span class="pre">make_rc</span></tt> Module</a></li>
<li><a class="reference internal" href="#progressdialog-module"><tt class="docutils literal"><span class="pre">progressDialog</span></tt> Module</a></li>
<li><a class="reference internal" href="#projdialog-module"><tt class="docutils literal"><span class="pre">projDialog</span></tt> Module</a></li>
<li><a class="reference internal" href="#projectedwidget-module"><tt class="docutils literal"><span class="pre">projectedWidget</span></tt> Module</a></li>
<li><a class="reference internal" href="#projmvc-module"><tt class="docutils literal"><span class="pre">projMVC</span></tt> Module</a></li>
<li><a class="reference internal" href="#module-ccqw.qtCompat"><tt class="docutils literal"><span class="pre">qtCompat</span></tt> Module</a></li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="snapshots.html"
                        title="previous chapter">How does the widget look like?</a></p>
  <h3>This Page</h3>
  <ul class="this-page-menu">
    <li><a href="_sources/ccqw.txt"
           rel="nofollow">Show Source</a></li>
  </ul>
<div id="searchbox" style="display: none">
  <h3>Quick search</h3>
    <form class="search" action="search.html" method="get">
      <input type="text" name="q" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    <p class="searchtip" style="font-size: 90%">
    Enter search terms or a module, class or function name.
    </p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="snapshots.html" title="How does the widget look like?"
             >previous</a> |</li>
        <li><a href="index.html">CCQW 0.1.1 documentation</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
        &copy; Copyright 2012, Roberto Vidmar, Nicola Creati.
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
    </div>
  </body>
</html>